LlAsc & llChr

From Second Life Wiki
Jump to navigation Jump to search

This article is a feature request

This is a simple script feature. Two added functions: llAsc and llChr. These two will convert between characters from a string and their ascii code. This might be especially useful when using font textures..

llAsc returns the integer value that represents the ascii value of the given character. llChr does the opposite, returning the character with the given ascii value.

integer llAsc(string character); string llChr(integer asciivalue);


See also: Feature requests


See the functions on UTF-8 -- Strife Onizuka 17:18, 4 May 2007 (PDT)