Cleaning up whitespace around strings without deleting spaces as well
<p>So I currently have a series of strings. They might have access whitespaces so I want to get rid of it by turning "  book" into "book". However, if I use trim, a string such as "some title" becomes "sometitle". How do I go about this?</p>
