stringSplit

string[] StringSplit(string inString, string inSeperator)

Description

Split the string inString into several pieces, separated by inSeperator. all instances of inSeperator are removed.

Parameters

The following is a list of parameters the functions receives 

Parameter Type Description
inString string string to replace content in
inSeperator string  sub-string of inString, to remove all its instances from inString and split it by that

Return Type

string[]

Examples

stringSplit("Good morning!", "n") will return a string array containing 3 strings: "Good mor", "i", "g!".

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.