Posts by Denali • 73 points
1 post
-
7
votes8
answers955
viewsQ: split/regex only on the first vertical bar "|"
I want to share the string in 2 parts (will always be a array divide into two parts - or two elements) each time a vertical bar | (only in the first case). For example: I have a string var string =…