Difference between revisions of "LlToUpper"

From Second Life Wiki
Jump to navigation Jump to search
m
m (merged translator's notes into original page)
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 in LSL.
|caveats=*There is no llToProperCase, which capitalize the first letter of a word, in LSL.
|constants
|constants
|examples=
|examples=

Revision as of 17:33, 28 April 2010

Summary

Function: string llToUpper( string src );

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

• string src

The opposite is llToLower.

Caveats

  • There is no llToProperCase, which capitalize the first letter of a word, in LSL.
All Issues ~ Search JIRA for related Bugs

Examples

<lsl>string msg = "I like candy!"; string p = llToUpper(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

•  llToLower

Deep Notes

All Issues

~ Search JIRA for related Issues
   Unicode behavior of llToUpper and llToLower is inconsistent and broken

Signature

function string llToUpper( string src );