Cpp Get Substring Between Two Characters Fighting