Difference between revisions of "LlToLower"

From Second Life Wiki
Jump to navigation Jump to search
m (Grammar fix)
m (Replaced old <LSL> block with <source lang="lsl2">)
Line 10: Line 10:
|constants
|constants
|examples=
|examples=
<lsl>string msg = "I like CANDY!";
<source lang="lsl2">string msg = "I like CANDY!";
string p = llToLower(msg);
string p = llToLower(msg);
llOwnerSay(p);//Will say "i like candy!"</lsl>
llOwnerSay(p);//Will say "i like candy!"</source>
|helpers
|helpers
|also_functions={{LSL DefineRow||[[llToUpper]]}}
|also_functions={{LSL DefineRow||[[llToUpper]]}}

Revision as of 12:15, 22 January 2015

Summary

Function: string llToLower( string src );

Returns a string that is src with all lower-case letters

• string src

The opposite is llToUpper.

Caveats

  • There is no Linden Library "llToProperCase", which would return correctly capitalized strings; However, there are user functions that do this: ToNormal
All Issues ~ Search JIRA for related Bugs

Examples

string msg = "I like CANDY!";
string p = llToLower(msg);
llOwnerSay(p);//Will say "i like candy!"

See Also

Functions

•  llToUpper

Deep Notes

All Issues

~ Search JIRA for related Issues
   Unicode behavior of llToUpper and llToLower is inconsistent and broken

Signature

function string llToLower( string src );