UtfChar: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(Added example) |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
{{Server client function}} | {{Server client function}} | ||
The function returns the string of the specified UTF code. | The function returns the string of the specified UTF code. | ||
Line 14: | Line 13: | ||
===Returns=== | ===Returns=== | ||
Returns a ''[[string]]'' if the function was successful, ''false'' otherwise. | Returns a ''[[string]]'' if the function was successful, ''false'' otherwise. | ||
===Example=== | |||
<section name="Example" class="both" show="true"> | |||
<syntaxhighlight lang="lua"> | |||
local Char = utfChar(65) | |||
outputChatBox(Char) -- Result : A | |||
</syntaxhighlight> | |||
</section> | |||
==See Also== | ==See Also== | ||
{{Utility_functions}} | {{Utility_functions}} |
Latest revision as of 00:35, 4 July 2016
The function returns the string of the specified UTF code.
Syntax
string utfChar ( int characterCode )
Required Arguments
- characterCode: The UTF code, to get the string of.
Returns
Returns a string if the function was successful, false otherwise.
Example
Click to collapse [-]
Examplelocal Char = utfChar(65) outputChatBox(Char) -- Result : A
See Also
- addDebugHook
- base64Decode
- base64Encode
- debugSleep
- decodeString
- encodeString
- fromJSON
- generateKeyPair
- getColorFromString
- getDevelopmentMode
- getDistanceBetweenPoints2D
- getDistanceBetweenPoints3D
- getEasingValue
- getNetworkStats
- getNetworkUsageData
- getPerformanceStats
- getRealTime
- getTickCount
- getTimerDetails
- getTimers
- getFPSLimit
- getUserdataType
- getVersion
- gettok
- isTransferBoxVisible
- setTransferBoxVisible
- hash
- inspect
- interpolateBetween
- iprint
- isOOPEnabled
- isTimer
- killTimer
- md5
- passwordHash
- passwordVerify
- pregFind
- pregMatch
- pregReplace
- removeDebugHook
- resetTimer
- setDevelopmentMode
- setFPSLimit
- setTimer
- ref
- deref
- sha256
- split
- teaDecode
- teaEncode
- toJSON
- tocolor
- getProcessMemoryStats
- utfChar
- utfCode
- utfLen
- utfSeek
- utfSub
- bitAnd
- bitNot
- bitOr
- bitXor
- bitTest
- bitLRotate
- bitRRotate
- bitLShift
- bitRShift
- bitArShift
- bitExtract
- bitReplace