IndexOf()
From ElectronicWar
| Function information for indexOf() | |
| Function | indexOf() |
| Parameters | (string s1,string s2,int n) |
| API | All |
| Cost | $0 |
| Level | N/A |
| CPU Usage | 0 |
| Description | Returns the position of s2 in s1 starting from the nth character. |
[edit] Example
lineStr = "Hello, world." linePos = indexOf(lineStr, ",", 1);
Output: linePos = 6

