I have string between that string their may be multiple space of single space but in case of multiple space count as single space and find that string.
conditions are
Aaaaa, /s/sAR 71832
Aaaaa, AR /s/s/s/s71832
but found as:
Aaaaa, AR 71832
I have string between that string their may be multiple space of single space but in case of multiple space count as single space and find that string.
conditions are
Aaaaa, /s/sAR 71832
Aaaaa, AR /s/s/s/s71832
but found as:
Aaaaa, AR 71832
Are you want to remove the /s here or what.
If yes then try below expression:
Str = “Aaaaa, /s/sAR 71832”
RequiredString = Str.replace(“/s”,“”)
i not taking about replacing.
my requirement is more than one space count as single space and find this type of format string e.i.
Aaaaa, AR 71832
found this by using regex.