You are here: Symbol Reference > Math387 Namespace > Functions > Math387.ExtractInteger Function
MtxVec VCL
ContentsIndex
PreviousUpNext
Math387.ExtractInteger Function

Gets integer number, extracted from string source.

Pascal
function ExtractInteger(const Source: string; var Offset: integer; const Delimiter: string): integer; overload;

Integer number that was extracted from string Source looking from Offset and ended with Delimiter.

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.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!