FindString()

Syntax

Position = FindString(String$, StringToFind$, StartPosition)
Description
Try to find the 'StringToFind$' into the given 'String$' starting from the given 'StartPosition'. If the string is found, its position is returned (in its offset, starting from 1). If the string is not found, it returns 0.
  Position = FindString("PureBasic", "Bas", 1) ; 'Position' will get the value '5'

Supported OS

All

<- CountString() - String Index - Hex() ->