7
I have a string that always returns in any of these formats:
"0001>0002>0003>0004>0005"
"abcdef>ghi>jkl>mnopqr>stuvx"
Always has the character >
dividing something.
There’s a way I could erase everything after the third >
?
For example, I have "0001>0002>0003>0004>0005"
and I just want to "0001>0002>0003"
.
Or do I have "abcdef>ghi>jkl>mnopqr>stuvx"
and I just want to "abcdef>ghi>jkl"
.
That one
string
always has this pattern, that is, it is always so of the return or may vary?– novic