User:Talidan: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{MTA Developer}}
{{MTA Developer}}


=Batman's secret identities=
=Unicode=
* '''lucasc190''' - ?
===Proposed unicode functions===
* '''jte''' - ?
<syntaxhighlight lang="lua">
int    utfLen  ( string theString )                    --Real length of a string, in characters
int    utfSeek ( string theString, int position )      --Returns the byte position at specified character position
string utfSub  ( string theString, int Start, int End ) --Sub string, from the specified positions on a chracter
string utfChar ( int characterCode )                    --Return the string of the specified UTF code
int    utfCode ( string theString  )                    --Return the UTF codes from the given string
</syntaxhighlight>

Revision as of 23:26, 19 August 2010

Coder.gif This user is an MTA developer

Unicode

Proposed unicode functions

int    utfLen  ( string theString )                     --Real length of a string, in characters
int    utfSeek ( string theString, int position )       --Returns the byte position at specified character position
string utfSub  ( string theString, int Start, int End ) --Sub string, from the specified positions on a chracter
string utfChar ( int characterCode )                    --Return the string of the specified UTF code
int    utfCode ( string theString  )                    --Return the UTF codes from the given string