Skip to main content
Version: 6.1

Extractstringd

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

Function available for the following operating systems:

OS Supported: Android, iOS, Win, Win32

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.

Examples​

  • Example 1

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

  • Example 2

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

  • Example 3

ExtractStringd("001;Kalipso Studio;5000;Software", 2, ":")
Result = 0.0

info

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