llToUpper

From Second Life Wiki
Revision as of 08:17, 16 October 2023 by Frionil Fang (talk | contribs) (same as llToLower, works mostly for basic unicode, fails for 1561 out of 2155 characters)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 Linden Library "llToProperCase", which would return correctly capitalized strings; However, there are user functions that do this: ToNormal
  • The function also works for many characters outside the 7-bit ASCII range, especially latin, cyrillic and greek, but not all characters tagged as "lowercase" in the Unicode specification are converted.

Examples

string msg = "I like candy!";
string p = llToUpper(msg);
llOwnerSay(p);//Will say "I LIKE CANDY!"

See Also

Functions

•  llToLower

Deep Notes

Signature

function string llToUpper( string src );