LlToLower: Difference between revisions

From Second Life Wiki
Jump to navigation Jump to search
Strife Onizuka (talk | contribs)
mNo edit summary
Fred Gandt (talk | contribs)
Added function link to ToNormal
Line 15: Line 15:
|helpers
|helpers
|also_functions={{LSL DefineRow||[[llToUpper]]}}
|also_functions={{LSL DefineRow||[[llToUpper]]}}
{{LSL DefineRow||[[User:Fred_Gandt/Scripts/Functions#ToNormal_.28_V1_.29|ToNormal]] - '''User Created Function''' returns a string which reads as ''normal'' text.}}
|also_tests
|also_tests
|also_events
|also_events

Revision as of 17:30, 7 May 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 would 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
•  ToNormal - User Created Function returns a string which reads as normal text.

Deep Notes

Signature

function string llToLower( string src );