hstoi

Top  Previous  Next

Scripts > Class elements and c++ instructions > String manipulation > hstoi

 

Prototype

 

int hstoi(const str& xs)

 

Description

 

Converts an str, which consists of hexadicimal characters, into an integer.

 

Return value

 

hstoi returns the result of the conversion or 0, if the string cannot be converted to an integer.

 

 

Example:

 

The result of hstoi("FF")  is the number 255.



This page belongs to the TextTransformer Documentation

Home  Content  German