Cpp Get Substring Python Function Questions Abalone