stripPrefix "/foo/" "/foo/bar/baz.txt" == Just "bar/baz.txt" stripPrefix "/foo/" "/bar/baz.txt" == NothingThis function operates on logical prefixes, rather than by counting characters. The prefix "/foo/bar/baz" is interpreted the path ("/foo/bar/", "baz"), and will be stripped accordingly:
stripPrefix "/foo/bar/baz" "/foo/bar/baz/qux" == Nothing stripPrefix "/foo/bar/baz" "/foo/bar/baz.txt" == Just ".txt"Since: 0.4.1