Merge pull request #24 from Jeavon/master

A few tweaks, samples and docs for SubstringBefore and SubstringAfter methods