String
MSK.String.Random
Generate a Random String
Parameters
length - number
- The Length of the string
Returns
text - string
- The Text of the given length
MSK.String.StartsWith
Checks if the given string start with the given string
Parameters
text - string
- Text that should be checked
letter - string
- Letter to search for
Returns
startsWith - boolean
- Whether the text starts with the given letter
MSK.String.Trim
Removes SPACEs in a string
Parameters
text - string
- Text that should be trimmed
hardtrim - boolean
- All spaces will be trimmed - Optional
Returns
trimmed - string
- The trimmed text
MSK.String.Split
Splits a string into two different strings
Parameters
text - string
- Text that should be splitted
delimiter - string
- Delimiter where should the text be splitted
Returns
result - table
- Includes the splitted string
Last updated