Difference between revisions of "Char at"

From Kolmafia
Jump to navigation Jump to search
imported>Bale
(start page)
(No difference)

Revision as of 00:20, 29 November 2010

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.

substring( "Lorem Ipsum." , 4);

Would result in:

Returned: e