Re: remove all text EXCEPT whats between [ ]
Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance
Public Function StripSquareBrackets(ByVal StringIn As String) As String
StripSquareBrackets = Replace(Replace(StringIn, "[", ""), "]", "")
End Function
--
Brendan Reynolds
"Jack" <Jack@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:C18FABC3-6EB5-497A-8C45-FB55E2A8CBBB@xxxxxxxxxxxxxxxx
>I am need assistance with this. I have a textbox that contains drive
> information between ["G:\\server\share\"] I only care about whats between
> [].
> How can I parse only this info from string?
>
>
> Thanks,
> Jack
.
Relevant Pages
- Re: isnumeric in c sharp
... You can attempt to feed the textbox's Text property value to the Parse ... method of the Int32 type, and catch the FormatException, OverflowException ... Dmitriy Lapshin [C# / .NET MVP] ... > From a textbox i have to verify if the input is numeric. ... (microsoft.public.dotnet.languages.csharp) - Re: Formatierung von gebundenen Textboxen
... die Binding-Klasse hat dafür Format und Parse Events. ... die aus der Datenquelle kommen und in Deiner ... Textbox angezeigt werden sollen. ... der Textbox dann wieder in ein Format bringen, ... (microsoft.public.de.german.entwickler.dotnet.vb) - Re: [ASAP] GotFocus event
... Brendan Reynolds ... "Peter Schmitz" wrote in message ... So, when I set value to "", does the textbox appear to ... >> Brendan Reynolds (MVP) ... (microsoft.public.access.gettingstarted) - Re: Mask in a TextBox
... Combining the Format and Parse ... events can allow a flexibility to the behaviour of a TextBox. ... (microsoft.public.dotnet.languages.csharp) - Logical and mathematical expressions parser / evaluator
... logical and mathematical expression. ... assistance of the component: ... It doesnt have to be a specific grammair, ... The component should be able to parse the expression and tell whether it ... (borland.public.delphi.thirdpartytools.general) |
|