/
String:sub()
String:sub()
The sub method on a string allows you to get a substring of the source string provided based on the start and end position you specify.
In the following simple example, you can see “Mr.” is returned.
, multiple selections available,
Related content
String:split()
String:split()
More like this
How can I get part of string?
How can I get part of string?
More like this
String:find()
String:find()
More like this
String:match()
String:match()
More like this
Strings
Strings
More like this
Concatenating strings
Concatenating strings
More like this