D
DJH
I am trying to find the most efficient way to code a php explode in C++.
What existing STL function may I use to separate this in to its parts
where the delimiter is "||" ?
example:
~!||1||1||foobar
I would like a string array as such
stringarray[0]="~!"
stringarray[1]="1"
stringarray[2]="1"
stringarray[3]="foobar"
Thanks in advance!
What existing STL function may I use to separate this in to its parts
where the delimiter is "||" ?
example:
~!||1||1||foobar
I would like a string array as such
stringarray[0]="~!"
stringarray[1]="1"
stringarray[2]="1"
stringarray[3]="foobar"
Thanks in advance!