# 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:

![](https://3821468174-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LrTlA1suFa5N48x_83N%2F-MAlPVpH3WRwBy16c7JY%2F-MAlQBZuuTnc6hyzKSVQ%2Fimage.png?alt=media\&token=5c9534b7-ca05-4ac4-b408-2207cd5a5295)

### 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

{% hint style="info" %}
If the Rank is higher than the number of parts, the result will be 0.0.
{% endhint %}
