llOrd
Revision as of 10:38, 5 May 2021 by Rider Linden (talk | contribs) (Created page with "{{LSL Function |func_sleep=0.0|func_energy=10.0 |func=llOrd|sort=Ord |func_desc=Calculate the ordinal value for a character in a string. |return_type=integer |p1_type=string|p...")
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: integer llOrd( string val, integer index );? | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Calculate the ordinal value for a character in a string.
Returns an integer
• string | val | – | Source string for character ordinal. | |
• integer | index | – | Index of character ordinal to retrieve. |
The returned value is the UTF-16 value of the character at the specified index.