Int32 ExtractInteger(String Source, ref Int32 Offset, String Delimiter)
Gets integer number, extracted from string source.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Source | String | |
| 2 | Offset | Int32 (ref) | output |
| 3 | Delimiter | String |
Returns: Int32 - Integer 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 ExtractInteger to process a string of integer numbers separated by Delimiter. If the Delimiter is not Found, the function returns zero.
See Also: Math387.ExtractCplx