Difference between revisions of "LlToUpper"

From Second Life Wiki
Jump to: navigation, search
m (lsl code tagging)
Line 9: Line 9:
 
|caveats
 
|caveats
 
|constants
 
|constants
|examples=<pre>
+
|examples=
 +
<lsl>
 
string msg = "I like candy!";
 
string msg = "I like candy!";
 
string p = llToUpper(msg);
 
string p = llToUpper(msg);
 
llOwnerSay(p);//Will say "I LIKE CANDY!"
 
llOwnerSay(p);//Will say "I LIKE CANDY!"
</pre>
+
</lsl>
 
|helpers
 
|helpers
 
|also_functions={{LSL DefineRow||[[llToLower]]}}
 
|also_functions={{LSL DefineRow||[[llToLower]]}}

Revision as of 14:50, 30 March 2008

Summary

Function: string llToUpper( string src );

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

• string src

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.

See Also

Functions

•  llToLower

Deep Notes

Search JIRA for related Issues

Signature

function string llToUpper( string src );