Function SubString

Create a new string from a part of another string.

native SubString takes string source, integer start, integer end returns string source - The string to process

start - Position to start at (The first character is located at 0)

end - Position to end at

Example
local string foo local string bar set foo = SubString("The quick brown fox jumps over the lazy dog", 0, 3) // == "The" set bar = SubString("The quick brown fox jumps over the lazy dog", 4, 9) // == "quick"