How To Get Substring From A String In Cpp