Hello,
I would like to split a string so that I remove the first three characters from it
E.g.
(1)Input
to
Input
Any help would be appreciated,
Thanks
Hello,
I would like to split a string so that I remove the first three characters from it
E.g.
(1)Input
to
Input
Any help would be appreciated,
Thanks
To clarify, the first three characters might change e.g. Input could be (2)Input or (3)Input
StringVar=“(1)Input”
StringVar= StringVar.substring(3,StringVar.length-3)
Hi
Hope this would help you
Intext = “(1)input”
Then
Outtext = Split(Intext,”)”)(1).ToString // output is input
Cheers @mzucker
Try this:
take String datatype variable str and assign value
str=“(1)Input”
take another two string variable called outputstrfirst,outputstrsecond
and try function : substring two times
outputstr = str.Substring(0,3)
outputstrsecond = str.Substring(3)
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.