Start

From Kolmafia
Revision as of 05:20, 11 May 2010 by imported>Bale (Created page with '{{ #vardefine:name|start}}{{ #vardefine:return_type|int}}{{ FunctionPage| name={{#var:name}}| function_category=String Handling Routines| function1={{Function| name={{#var:name…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
needs(code_samples);

Function Syntax

int start(matcher pattern )

  • pattern is the regular expression to use

int start(matcher pattern ,int group )

  • pattern is the regular expression to use
  • group is the number of the capturing group

Returns the starting index of the specified capturing group, or if no group is specified, it returns the index of the last group found.

See Also

end()