Skip to content
  • Ibrahn Sahir's avatar
    Repair String lstrip and rstrip. · cbb396c0
    Ibrahn Sahir authored
    Background: lstrip and rstrip were broken by changes to String in:
    0e29f797
    which removed it's access to Vector::find(CharType).
    
    Moved Vector's find up into CowData so it can be shared by Vector and String.
    Added String::find_char using CowData::find.
    Implemented rstrip and lstrip using find_char.
    Added a few tests for String rstrip and lstrip.
    cbb396c0