FindString()

Syntax

Position = FindString(String$, StringToSearch$, StartPosition)

Description

Try to find the 'StringToSearch$' into the given 'String$' starting from the given 'StartPosition'. If the string is found, its position is returned (in character, 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

Windows, AmigaOS, Linux

String - Index