string

Show Deprecated

Summary

Functions

byte(s: string, i: number, j: number): number  

char(...: number): string  

find(s: string, pattern: string, init: number, plain: boolean): number  

format(formatstring: string, ...: string): string  

gmatch(s: string, pattern: string): function  

gsub(s: string, pattern: string, replacement: Variant, replacements: number): string  

len(s: string): number  

match(s: string, pattern: string, init: number): string  

pack(format: string, ...: Variant): string  

packsize(format: string): number  

rep(s: string, n: number): string  

split(s: string, separator: string): table  

sub(s: string, i: number, j: number): string  

unpack(format: string, data: string, readStart: string): Tuple  

Functions

byte

Parameters

Default Value: "1"
Default Value: "i"

Returns

char

Parameters

...: number

Returns

find

Parameters

pattern: string
init: number
Default Value: "1"
plain: boolean
Default Value: "false"

format

Parameters

formatstring: string
...: string

Returns

gmatch

Parameters

pattern: string

Returns

gsub

Parameters

pattern: string
replacement: Variant
replacements: number

Parameters

Returns

lower

Parameters

Returns

match

Parameters

pattern: string
init: number
Default Value: "1"

Returns

pack

Parameters

format: string
...: Variant

Returns

packsize

Parameters

format: string

Returns

Parameters

Returns

reverse

Parameters

Returns

split

Parameters

separator: string
Default Value: ","

Returns

Parameters

Default Value: "1"
Default Value: "-1"

Returns

unpack

Parameters

format: string
data: string
readStart: string
Default Value: "1"

Returns

upper

Parameters

Returns