ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:strfind

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
functions:strfind [2017/03/20 09:59] korshunfunctions:strfind [2017/04/15 17:45] korshun
Line 6: Line 6:
 Returns the position of the first occurence of what in s. If the string is not present, returns -1. Returns the position of the first occurence of what in s. If the string is not present, returns -1.
  
 +<note tip>To search for the **last** occurence, use [[StrRFind]].</note>
  
 ===== Examples ===== ===== Examples =====
Line 26: Line 26:
 </code> </code>
  
 +===== See also =====
 +  * [[StrRFind]]
 +  * [[StrFindFrom]]
 +  * [[StrRFindFrom]]
  
functions/strfind.txt · Last modified: 2020/12/24 13:12 by monsterovich