Menu ▾ ▴

#3 not trimming all leading characters

open
nobody
4
2009-10-02
2009-10-02
No

The "trim_all" routine and related aren't strictly correct because the way they are implemented it is to trim the various null characters (newline, space, tab, etc.) one at a time. but if your file started with "\n\t\nStuff" it would go to either "\t\nStuff" or "\nStuff" depending on which order the things are trimmed.

Discussion

  • Andres Colubri

    Andres Colubri - 2009-10-02
    • summary: trimming missing characters --> not trimming all leading characters
     

Log in to post a comment.