stripPrefix package:text-short

Strip prefix from second ShortText argument. Returns Nothing if first argument is not a prefix of the second argument.
>>> stripPrefix "text-" "text-short"
Just "short"
>>> stripPrefix "test-" "text-short"
Nothing