Updated stripTrailingSlash documentation.
Merge pull request #2317 from arb/doc-update

Updated stripTrailingSlash documentation.