string.lower

From GMod Wiki

Jump to: navigation, search
Function
Syntax string.lower( String string )
Where is this used?
Description:
Lowers the case of all letters in a string
Returns: String
Part of Library: String
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=String.lower]String.lower [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Example

DescriptionMakes the string lowercase.
Used onNewerShared.png
Code
local astring = "some sTrInG"
astring = string.lower(astring)
Msg(astring)
Outputsome string


Additional Notes

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox