String:Left(text, len, return)
Copies the leftmost part of a text with length according to len.
-
Number len - desired length of characters to copy.
String return - a String variable to hold the leftmost value.
function main() {
Var:String myStr = "Hello World";
String:Left(myStr, 2, myStr)
Konsol:Log(myStr) //see the log for "He"
}