Guest
If I have a string:
string s = "top.block_name.subblock_name";
and I want to extract the block_name from the string, how would I do
it?
I know there's a substr function
s.substr()
but there's no find() function to locate the . (dot) separator.
Thanks!
string s = "top.block_name.subblock_name";
and I want to extract the block_name from the string, how would I do
it?
I know there's a substr function
s.substr()
but there's no find() function to locate the . (dot) separator.
Thanks!