Eyeon:Script/Reference/Libraries/string/char

From VFXPedia

< Eyeon:Script | Reference | Libraries | string
Revision as of 14:01, 9 December 2006 by Peter (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

String : string.char

Arguments

string.char( i, ... )

  • i (required, number)

an integer representing the ascii value of a character

Returns

A string containing the ascii character represented by 'i'

Remarks

The string.char() function gets zero or more integers, converts each one to a character, and returns a string concatenating all those characters together.

Requirements

  • eyeonScript 5.0
  • Fusion 5.0


Examples

-- prints the letter "H"

i = string.char( 72 )

print( i )

-- prints the word "Hello"

i = string.char( 72, 101, 108, 108, 111 ) print( i )


Tips for char (edit)

EyeonTips:Script/Reference/Libraries/string/char