|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
String function in VBI am having trouble remembering a string function that I used a while
back in VB. I don't know if it was .NET specific. The function either searched a string or replaced a substring in a string or something similar. The main thing I remember about the function is that it used regular expression like syntax for the filtering mechanism. I know this is vague but any help is appreciated. Thanks. JR,
Yes this is super vague the most I could make from your question was the string.replace http://msdn2.microsoft.com/en-us/library/fk49wtc1.aspx dim mystring as string = "12345".replace("23","99") I hope this helps, Cor Show quoteHide quote "JR" <xan***@charter.net> schreef in bericht news:1155825470.339197.308980@m73g2000cwd.googlegroups.com... >I am having trouble remembering a string function that I used a while > back in VB. I don't know if it was .NET specific. > > The function either searched a string or replaced a substring in a > string or something similar. The main thing I remember about the > function is that it used regular expression like syntax for the > filtering mechanism. > > I know this is vague but any help is appreciated. > > Thanks. > Yes...."super vague" is an understatement. The function in question was
not a member function of the string class. The key was that it used "regular expression" like syntax for the filter. Cor Ligthert [MVP] wrote: Show quoteHide quote > JR, > > Yes this is super vague the most I could make from your question was the > string.replace > > http://msdn2.microsoft.com/en-us/library/fk49wtc1.aspx > > dim mystring as string = "12345".replace("23","99") > > I hope this helps, > > Cor > > "JR" <xan***@charter.net> schreef in bericht > news:1155825470.339197.308980@m73g2000cwd.googlegroups.com... > >I am having trouble remembering a string function that I used a while > > back in VB. I don't know if it was .NET specific. > > > > The function either searched a string or replaced a substring in a > > string or something similar. The main thing I remember about the > > function is that it used regular expression like syntax for the > > filtering mechanism. > > > > I know this is vague but any help is appreciated. > > > > Thanks. > > See System.Text.RegularExpressions
-- Patrice "JR" <xan***@charter.net> a écrit dans le message de news: 1155827097.140381.288***@75g2000cwc.googlegroups.com...Show quoteHide quote > Yes...."super vague" is an understatement. The function in question was > not a member function of the string class. The key was that it used > "regular expression" like syntax for the filter. > > Cor Ligthert [MVP] wrote: >> JR, >> >> Yes this is super vague the most I could make from your question was the >> string.replace >> >> http://msdn2.microsoft.com/en-us/library/fk49wtc1.aspx >> >> dim mystring as string = "12345".replace("23","99") >> >> I hope this helps, >> >> Cor >> >> "JR" <xan***@charter.net> schreef in bericht >> news:1155825470.339197.308980@m73g2000cwd.googlegroups.com... >> >I am having trouble remembering a string function that I used a while >> > back in VB. I don't know if it was .NET specific. >> > >> > The function either searched a string or replaced a substring in a >> > string or something similar. The main thing I remember about the >> > function is that it used regular expression like syntax for the >> > filtering mechanism. >> > >> > I know this is vague but any help is appreciated. >> > >> > Thanks. >> > > "JR" <xan***@charter.net> schrieb: Maybe you are referring to VB's 'Replace' function or 'Like' operator.> Yes...."super vague" is an understatement. The function in question was > not a member function of the string class. The key was that it used > "regular expression" like syntax for the filter. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/> Herfried K. Wagner [MVP] wrote:
> "JR" <xan***@charter.net> schrieb: YES! It was the 'Like' operator I was trying to remember.> > Yes...."super vague" is an understatement. The function in question was > > not a member function of the string class. The key was that it used > > "regular expression" like syntax for the filter. > > Maybe you are referring to VB's 'Replace' function or 'Like' operator. > > -- > M S Herfried K. Wagner > M V P <URL:http://dotnet.mvps.org/> > V B <URL:http://dotnet.mvps.org/dotnet/faqs/> Thanks! JR
Drawing a compass
Create New RegistryKey ContextMenu Wait for all ThreadPool workers to complete Representing Related Data within a DataGrid ComboBox Saving input in dropdown Withevents work AddHandler dont? dynamic main menu Thread not getting value in named slot vb.net richtextbox selectionstart coloring |
|||||||||||||||||||||||