Playmaker Forum
PlayMaker Updates & Downloads => Share New Actions => Topic started by: Lane on January 26, 2015, 10:20:15 AM
-
Split a string at each divider character and store the results into separate strings.
Limitations:
Number of result strings must be known. Error detection will throw if the input string has more segments than the storing capacity. No error if there are fewer strings, so essentially a maximum number of segments is what you are defining.
Also on Ecosystem.
-
Yes!
Thanks!!
-
You're a legend! I was just formulating this question and you've written an action. Just after the same happened with your average vector3 action. Cheers Lane!
-
What's the divider symbol for string with break lines
For example if i have this string
"line 1
line 2
line 3"
and wanna split it into
string 1 : "line 1"
string 2 : "line 2"
string 3 : "line 3"
I tried \n and didn't work...
thanks!
-
I don't think you can do linebreaks with this action. Get a valid character for it to recognize in there.