This is an old revision of the document!
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.
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 |
<#pos substr="abcd" str="abcdefgh">