string

FunctionDescription

split(string: string, separator: string) -> table

Splits string into a table using separator.

find(string: string, pattern: string) -> number

Finds the pattern in string and returns its position.

sub(string: string, start: number, end: number) -> string

Returns the substring of string from start to end.

gsub(string: string, pattern: string, replacement: string) -> string

Replaces occurrences of pattern in string with replacement.

length(string: string) -> number

Returns the length of string.

upper(string: string) -> string

Converts string to uppercase.

lower(string: string) -> string

Converts string to lowercase.

filter(string: string) -> string

Filters characters in string using the Roblox filter.

Last updated