HM_strxint()

Extracts the integer value from a string.

Syntax

int HM_strxint(char * string);

Type

HyperMesh hmlib Function

Description

Extracts the integer value from a string.

Inputs

string
A pointer to a string.

The integer value found in the string.

Example

This function looks for the first occurrences of the characters “0” through “9” and then converts that character along with all other valid integer characters which follow it.

Errors

None.