omni::stol
Defined in omni/String.h
- 
long omni::stol(const string &str, std::size_t *pos = nullptr, int base = 10)
- Interprets the string - stras a signed integer value.- Parameters
- str – The string to convert. 
- pos – Address of an integer to store the number of characters processed. 
- base – The number base. 
 
- Throws
- Returns
- Integer value corresponding to the contents of - str.