Added String.shorten(), truncates strings at a given [position].
Added String.shorten(), truncates strings at a given [position].

%shorten% also can also be told whether to include the [splitter] in the length of the resultant string.


Former-commit-id: af4a64b97eff6a86a770dff3253ac2685dae8168 [formerly 98264a90000e12e68bae9fbbc38b82de06d8e683]
Former-commit-id: 9f78b758c7200a42295ecd3c6fc67e5971af1bd2
andrewplummer/Sugar,romancow/Sugar,andrewplummer/Sugar,romancow/Sugar