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!".
Comments
Please sign in to leave a comment.