llToLower
function
Function syntax
string llToLower(string src// Source string to convert.
);- Returns
string- Energy
- 10
Returns a lowercase copy of the string src. Converts all unicode characters, not just ASCII.
The opposite is llToUpper.
Returns a string that is src with all lower-case letters
string result = llToLower("");Caveats
Section titled “Caveats”- There is no Linden Library “llToProperCase”, which would return correctly capitalized strings; However, there are user functions that do this: ToNormal
- The function also works for many characters outside the 7-bit ASCII range, especially latin, cyrillic and greek, but not all characters tagged as “uppercase” in the Unicode specification are converted.
Examples
Section titled “Examples”Example 1
string msg = "I like CANDY!";string p = llToLower(msg);llOwnerSay(p);//Will say "i like candy!"Known issues
Section titled “Known issues”See also
Section titled “See also”Functions
Section titled “Functions”Original wiki source
Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.