Template:Str find long/doc

< Template:Str find long
Revision as of 12:57, 21 March 2013 by Unknown user (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:Mbox

Usage

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

  • Only searches first 80 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).

Examples

Applications

See also

Description of all string templates