History of Idiom 151 > diff from v1 to v2
Edit summary for version 2 by programming-idioms.org:
New Go implementation by user [programming-idioms.org]
New Go implementation by user [programming-idioms.org]
↷
Version 1
2016-10-24, 12:38:11
Version 2
2016-10-24, 12:41:33
Idiom #151 Remove string trailing path separator
Remove last character from string p, if this character is the file path separator of current platform.
Note that this also transforms unix root path "/" into empty string!
Idiom #151 Remove string trailing path separator
Remove last character from string p, if this character is the file path separator of current platform.
Note that this also transforms unix root path "/" into empty string!
Comments bubble