Difference between revisions of "LlToUpper"

From Second Life Wiki
Jump to navigation Jump to search
m (overkill)
(You can undo/redo/voodoo that you do/choo choo cha boogie or whatever you think is appropriate. Just giving it a go myself.)
Line 7: Line 7:
|return_text=that is '''src''' with all upper-case characters.
|return_text=that is '''src''' with all upper-case characters.
|spec
|spec
|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: [[User:Fred_Gandt/Scripts/Functions#ToNormal|ToNormal]]
|caveats=*There is no Linden Library "llToProperCase", which would return ''[http://en.wikipedia.org/wiki/Sentence_case correctly]'' capitalized strings; However, there is a user functions that does this: [[User:Fred_Gandt/Scripts/Functions#ToNormal|ToNormal]]
|constants
|constants
|examples=
|examples=

Revision as of 02:01, 8 May 2010

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 Linden Library "llToProperCase", which would return correctly capitalized strings; However, there is a user functions that does this: ToNormal

Examples

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

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

See Also

Functions

•  llToLower

Deep Notes

Signature

function string llToUpper( string src );