Length

From Kolmafia
Revision as of 05:09, 22 May 2010 by imported>Bale
Jump to navigation Jump to search
needs(code_samples);

Function Syntax

int length(string count_me )

  • count_me is the string to check

Returns the number of characters (not 0-indexed) in a string. Note that for escaped characters, only the actual character — not the escape marker — is counted.