Garry's Mod Wiki


string utf8.sub( string string, number StartPos, number EndPos = nil )


A UTF-8 compatible version of string.sub.


1 string string
The string you'll take a sub-string out of.
2 number StartPos
The position of the first character that will be included in the sub-string.
3 number EndPos = nil
The position of the last character to be included in the sub-string. It can be negative to count from the end.


1 string
The substring.

Page Links

Special Pages



Render Time: 37ms

DB GetPage 4
Generate Html 10
SaveChanges (1) 9
Render Body 0
Render Sidebar 10