|
string_char_at(str,index) |
|
str = The string where the character at the index of index will be returned from. index = The position of the character in the string str.
Example #1:
The function string_char_at returns the character in the string of str, at the position of index. The following piece of code shows how to use string_char_at to get the third character in the string of "Hello". This is very useful for creating a simple dialogue script (with a typewriter effect), as shown in the example below.
Example #2:
Melee-Master - Revision #1 |