Hi,
I have a string: text1.text2 (the length of the text is different in each sting)
I would like to get text after dot (or comma): text2
How could I do it?
Hi,
I have a string: text1.text2 (the length of the text is different in each sting)
I would like to get text after dot (or comma): text2
How could I do it?
OpVar=StringVar.split(β.β,","c)(1)
if your β.β occurs only once you can use .Substring and IndexOf
strText = βtext1.text2β
strText2 = strText.Substring( strText.IndexOf(β.β)+1, strText.Length - strText.IndexOf(β.β)-1 )
If you have multiple instances you can split the string by the β.β and the output is an array and you can select the value you need from the array.
Wow:) It works! Of course I have more than one dot, then I use β:β between text1 and text 2
Thank you.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.