Need to get the substring 123 from string “xxx-123/0/0/abc” using C++ and convert the 123 into string to integer, that means 123 as int.
Didn’t get anything. only substring at a position or after the position or before the position is what I got. Or getting str.tok which is used with one token.