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