Wiktenauer logo.png

Template:Str find

From Wiktenauer
Revision as of 02:29, 23 September 2012 by Michael Chidester (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

1

[edit] [history] [purge] Documentation icon Template documentation

Usage

{{Str find|text|sub_string}} = Position of first appearance of sub_string in text.

  • Only searches first 50 characters of text. Returns -1 if sub_string not found in first 80 characters.
  • Character position is 1 based (not 0 based as usual in calculations).

See also