Hello All,
I have a string variable like this - variable1-abcd;gdgd;huhu;zxcv
I need to split this string to get the vale like 1- abcd , 2-gdgd, 3-huhu,4-zxcv
Please help
Hello All,
I have a string variable like this - variable1-abcd;gdgd;huhu;zxcv
I need to split this string to get the vale like 1- abcd , 2-gdgd, 3-huhu,4-zxcv
Please help
Try this:
yourStr.Split(";"c)
It will give you array of strings and then use index to get one by one value.
yourStr.Split(";"c)(0)
yourStr.Split(";"c)(1)
Etc...
thankyou so much , it worked
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.