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
functions:strfind [2017/04/15 17:45] korshunfunctions:strfind [2020/12/24 13:12] (current) – [Examples] monsterovich
Line 22: Line 22:
 if (index != -1) if (index != -1)
     print(s:"Found the keyword at position ", d:index);     print(s:"Found the keyword at position ", d:index);
-else:+else
     print(s:"Keyword not found");     print(s:"Keyword not found");
 </code> </code>
functions/strfind.1492267512.txt.gz · Last modified: 2017/04/15 17:45 by korshun