Contents - Index


Extract (function)

Extract(sInputString, sDelimiter, nFieldNumber) : string

This function will allow you to extract text from a delimited string. For example:
 

$Data = "Apple;Pear;Orange"
$Fruit = Extract($Data, ";", 2)


Now $Fruit = "Pear"

Note: sDelimiter can be a string of any length - not just one character as per the example (new in version 6.0)

Alpha List         Category List