====== <#Pos> ====== Returns the index value of the first character in a specified substring that occurs in a given string. Pos returns the index of SubStr in S, beginning the search at Offset. Pos is case-sensitive. If SubStr is not found or Offset is invalid (greater than the length of Str or less than 1), then the result is 0. Using POS tag is essentially placing application logic into the presentation that may be better handled in PHP. Use at your own discretion. ==== Parameters ==== ^ Name ^ Mandatory ^ Default ^ Description ^ | SubStr | Yes | | The name of the variable | | Str | Yes | | If empty return the value of the variable "Name", else initialize the value of the variable "Name" | | Offset | No | 1 | If no custom variable "Name" are defined, return the value of this parameter | | IgnoreCase | No | 0 | Case insensitive search | ==== Example ==== <#pos substr="abcd" str="abcdefgh"> The above example will output: 1