char_at()

From KoLMafia
Jump to: navigation, search

Function Syntax

string char_at(string source ,int index )

This function returns the character in source which is at position index.

Code Sample

Returns a portion of a string.

char_at( "Lorem Ipsum." , 3);
Would result in:
Returned: e