Difference between revisions of "LlToUpper"
Jump to navigation
Jump to search
m |
|||
Line 3: | Line 3: | ||
|func=llToUpper | |func=llToUpper | ||
|return_type=string|p1_type=string|p1_name=src | |return_type=string|p1_type=string|p1_name=src | ||
|func_footnote | |func_footnote=The opposite is [[llToLower]]. | ||
|func_desc | |func_desc | ||
|return_text=that is '''src''' with all upper-case characters. | |return_text=that is '''src''' with all upper-case characters. | ||
|spec | |spec | ||
|caveats | |caveats=*There is no llToProperCase in LSL. | ||
|constants | |constants | ||
|examples= | |examples= | ||
<lsl>string msg = "I like candy!"; | |||
<lsl> | |||
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!"</lsl> | ||
</lsl> | |||
|helpers | |helpers | ||
|also_functions={{LSL DefineRow||[[llToLower]]}} | |also_functions={{LSL DefineRow||[[llToLower]]}} |
Revision as of 04:42, 8 July 2008
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: string llToUpper( string src );97 | Function ID |
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
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 |