llToUpper

From Second Life Wiki
Revision as of 21:17, 7 May 2010 by Strife Onizuka (talk | contribs) (Overkill)
Jump to navigation Jump to search

Summary

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

Returns a string that is src with all upper-case characters.

• string src

The opposite is llToLower.

Caveats

  • There is no llToProperCase, which would capitalize the first letter of a word, in LSL. However, see "See Also" for a User Created function which may help.

Examples

<lsl>string msg = "I like candy!"; string p = llToUpper(msg);

llOwnerSay(p);//Will say "I LIKE CANDY!"</lsl>

Useful Snippets

  • ToNormal - Normalizes the capitalization in a string.

See Also

Functions

•  llToLower

Deep Notes

Signature

function string llToUpper( string src );