String Exercises Resolved