I actually found a way too, what I didn't realize is that the pop method works on a regular string, not just arrays