Hi, I am new to the platform.
I want to split a string and type the 1st substring. My string format is AB Cdefg [ishksn90]. And expected output is AB Cdefg.
Please help with this.
Thanks in advance.
I’d recommend using regex. You can do something simple like: Assign MySubString = System.Text.RegularExpressions.Regex.Match(YourString,"\w+\s\w+").Value
input = “AB Cdefg [ishksn90]”
output= input.SubString(0,input.IndexOf(“[”)+1)
U can have a try on this too using substring approach
Thanks this works ![]()