From: curt Date: Fri, 10 May 2002 13:32:44 +0000 (+0000) Subject: Bernie Bright: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6a3d1895d9d9f90092b393675ba50df7b1cf3c5e;hp=6a3d1895d9d9f90092b393675ba50df7b1cf3c5e;p=simgear.git Bernie Bright: Here is a total rewrite of the strutils package. I've reimplemented the trimleft(), trimright() and trim() functions as lstrip(), rstrip() and strip() respectively. Additionally I've added a split() function that behaves like its perl/python equivalent. Just the thing for splitting comma separated option strings or space separated telnet commands and arguments. I've also enclosed the whole thing in a namespace simgear::strutils. Since I seem to be the only one who uses these functions, SimGear and FlightGear compile without change. PS It is no coincidence that the new function names bear an uncanny resemblance to the python functions of the same name. ---