Vorlage:Str find/doc

Aus Bayernflora
< Vorlage:Str find
Version vom 16. Oktober 2009, 22:28 Uhr von Gregor Hagedorn (Diskussion | Beiträge) (1 Version: en.wikipedia taxobox dependencies + changes to Lead etc. after JS2 update)

(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche

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 50 characters.
  • Character position is 1 based (not 0 based as usual in calculations