stoi

Top  Previous  Next

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

 

Prototype

 

int stoi(const str& xs)

 

Description

 

Converts an str into an integer.

 

Return value

 

stoi returns the result of the conversion or throws an exception (boost::bad_lexical_cast), if the string cannot be converted to an integer.



This page belongs to the TextTransformer Documentation

Home  Content  German