Logo

Programming-Idioms

History of Idiom 151 > diff from v11 to v12

Edit summary for version 12 by programming-idioms.org:
keyword trim

Version 11

2017-10-28, 13:33:02

Version 12

2017-11-29, 09:34:53

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!

Extra Keywords
trim