From WikiChip
$poscs Identifier - mIRC
< mirc‎ | identifiers

$poscs returns the case-sensitive position of the Nth substring within a text string. $pos is the case-insensitive version.

Synopsis[edit]

$poscs(text,substring [,N] )

Parameters[edit]

 %var/text The string being searched
substring The string being searched for within text string
N The Nth occurrence of substring being searched for. Default is 1 if parameter not used.

  • Note: N=0 returns count of string's occurrences. Returns $null if Nth substring not found.

Switches[edit]

None

Examples[edit]

Compatibility[edit]

Added: mIRC v5.71
Added on: 07 May 2000
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See also[edit]