Count All Palindromic Substrings in a String [closed]
Closed 8 mins ago.
I need a C++ code to get me the 123 from string “xxx-123/0/0/abc” Which means substring after first hyphen(-) and before first slash(/)
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.