Is it just an old inheritage from vb6 or is it still the right way to do it? Is there another way?
take a look at the IndexOf property. eg: VB Code: Dim strString As String = "some text with a \ in" Dim x As Integer = strString.IndexOf("\") MessageBox.Show("the \ is located at ... " & x)
Dim strString As String = "some text with a \ in" Dim x As Integer = strString.IndexOf("\") MessageBox.Show("the \ is located at ... " & x)
~ if a post is resolved, please mark it as [Resolved] protected string get_Signature(){return Censored;} [vbcode][php] please use code tags when posting any code [/php][/vbcode]
Forum Rules