Skip to content

libraries/thirdparty/sh_utf8

Source: gamemode/framework/libraries/thirdparty/sh_utf8.lua

Changes any upper-case letters in a string to lower-case letters.

Documented functions: 2

Functions


utf8.lower(str)

Changes any upper-case letters in a string to lower-case letters.

Realm: shared

Parameters

Name Type Description
str string The string to convert.

Returns

  • string: Returns a string representing the value of a string converted to lower-case.

utf8.upper(str)

Changes any lower-case letters in a string to upper-case letters.

Realm: shared

Parameters

Name Type Description
str string The string to convert.

Returns

  • string: Returns a string representing the value of a string converted to upper-case.