From WikiChip
$poscs Identifier - mIRC
< mirc‎ | identifiers
Revision as of 17:22, 7 February 2018 by Ouims (talk | contribs) (Created page with "{{mirc title|$poscs Identifier}}'''$poscs''' returns the case-sensitive position of the Nth substring within a text string. {{mirc|$pos}} is the case-insensitive version. ==...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

$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]