You are here: Symbol Reference > Dew.Math Namespace > Math387 Class > Math387 Methods > ExtractInteger Method
Dew Math for .NET
ContentsIndex
PreviousUpNext
Math387.ExtractInteger Method

Gets integer number, extracted from string source.

C#
public int ExtractInteger(String Source, ref int Offset, String Delimiter);
Returns

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.

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