Adds latest version of code

A copy-paste of version 4 of String Prototype from the dropbox folder
to this repo.