Contents
Display Legacy Contents

 Print
    extractstringd    
This Function returns a numeric value, extracted from the specified Source string, according to a Rank and a Separator.

Parameters

Source string string
String from where to extract the substring.


Rank numeric
Order of the substring to extract (0 based).


Separator string
String used as a separator in the Source string, to divide it.


     
Example 1
  Example 2
ExtractStringd("001;Kalipso Studio;5000;Software", 2, ";")

Result = 5000.0
  ExtractStringd("001;Kalipso Studio;5000;Software", 0, ":")

Result = 1.0
     
Example 3    
ExtractStringd("001;Kalipso Studio;5000;Software", 2, ":")

Result = 0.0
   

     
  • If the Rank is higher than the number of parts, the result will be 0.0.

See also
Samples

 
Updated: 3/21/2018 11:26 AM