I am getting string in the following format.
ListName|Definition|Answer
And How want to separate it like :
String1 : ListName
String2 : Definition
String3 : Answer
Here, this words can be deffer as per the change in value.
So at any other point it may be like Hey|Name|Bye.
But | is always in the string.
And Is it Possible to count number of | in the string ?
How do I separate it ?
you can separate it like :
now you have an array like:
Hope it helps you….