I need to split string “5.5”18:9MaxVisionHD+” on ”. I need help on this.
Hey @Shashi123,
Just use dataString.split(""""c)
dataString should be replaed by your variable name please.
This will output an array of string separated by "
You can then manipulate it as per your need.
Hope this helps
Thanks
i want 5.5” out of the string
it is not working. getting error out of index.
dataString.Substring(0, dataString.IndexOf(""""))
This should help you.
Thanks
sorry.
But its not working. If possible can you share the xaml file. I tried but its not working
Can you please give me the exact string ?
The character after 5.5 is it a double quote ?
5.5”18:9MaxVisionHD+ this is the string.
Hi @Shashi123
StrValue.SunString(0,3)
Or
str.Split({"}, StringSplitOptions.RemoveEmptyEntries)
Regards,
Arivu
Hey @Shashi123,
I have performed two methods for you.
- String Split
- Substring
Both methods works for anytype of string value - 5.5", 18.50", 45.0"
The problem here is the string quote is of different character. (Just for preserving the same format of character used notepad)
PFA - StringSplit.zip (2.3 KB)
Output for reference
Thanks
Sorry the split command does not work. Problem with substring is its not going to be 5.5 always. it can be 18.20 also
Thank u. it worked
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.