Normalize slashes in a file path to be posix/unix-like forward slashes. Also condenses repeat slashes to a single slash and removes and trailing slashes, unless disabled.
Convert a dash/dot/underscore/space separated string to camelCase or PascalCase: foo-bar
→ fooBar
Split a string on the first occurance of a given separator
Removes separators from the end of the string.