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

$poscs(text,substring [,N] )

Parameters

 %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

None

Examples

Compatibility

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