Difference between revisions of "LlToLower"

From Second Life Wiki
Jump to navigation Jump to search
m
m (merged translator's notes which was in Japanese page)
Line 7: Line 7:
|return_text=that is '''src''' with all lower-case letters
|return_text=that is '''src''' with all lower-case letters
|spec
|spec
|caveats=*There is no llToProperCase in LSL.
|caveats=*There is no llToProperCase, which capitalize the first letter of a word, in LSL.
|constants
|constants
|examples=
|examples=

Revision as of 20:17, 28 April 2010

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 capitalize the first letter of a word, in LSL.

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 );