llToLower

From Second Life Wiki
Revision as of 22:30, 7 May 2010 by Strife Onizuka (talk | contribs) (Content duplication should be avoided. If putting the workaround in the caveats section doesn't clutter the page, then by all means, put it in caveats.)
Jump to navigation Jump to search

Summary

Function: string llToLower( string src );
0.0 Forced Delay
10.0 Energy

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

• string src

The opposite is llToUpper.

Caveats

  • There is no llToProperCase, which would capitalize the first letter of a word, in LSL but there is a user functions that does this: ToNormal

Examples

<lsl>string msg = "I like CANDY!"; string p = llToLower(msg);

llOwnerSay(p);//Will say "i like candy!"</lsl>

Notes

This may only work on characters in the ASCII7 range. SVC-3760

See Also

Functions

•  llToUpper

Deep Notes

Signature

function string llToLower( string src );