double ExtractSample(const DewString &Source, int &Offset, const DewString &Delimiter);
Gets double number, extracted from string source.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Source | const DewString & | |
| 2 | Offset | int & | |
| 3 | Delimiter | const DewString & |
Returns: double number that was extracted from string Source looking from Offset and ended with Delimiter.
Remarks:
The Offset is modified to point to the first character after first found Delimiter in Source string. You can use ExtractSample to process a string of complex numbers separated by Delimiter. If the Delimiter is not Found, the function returns zero.
See Also: Math387::ExtractCplx
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler