Skip to content
lsl.devlsl.devLSL Dev

llToLower

function
Function syntax
string llToLower(
  1. 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

How to use
string result = llToLower("");
  • 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.
Example 1
string msg = "I like CANDY!";
string p = llToLower(msg);
llOwnerSay(p);//Will say "i like candy!"
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.

From the Second Life Wiki

Community documentation adapted from LlToLower, by Linden Research, Inc. and contributing residents.View contributors and history.

Imported wiki revision:

Licensed under CC BY-SA 3.0. Last wiki edit: .Formatting and links have been adapted for this site; API metadata follows the LSL definitions.