C++ strings and input
Clean up names, compare codes, and read quantities from a form.
Inspect text and Unicode
- std::string::atRead the seat row
- std::string::emptyCheck for an untouched delivery note
- std::string::find_first_not_ofCheck an attendance comment
- std::string::sizeCheck the length of a parcel code
Find and compare
- std::string equalityVerify a locker code
- std::string::compareOrder two shelf areas
- std::string::compareFind filenames with a receipt extension
- std::string::compareRecognize an invoice prefix
- std::string::findFind a word on a shelf label
- std::string::findLocate the hyphen in a classroom code
- std::string::rfindFind the final dot in an archive name
Clean and replace
Split, join, and extract
- std::string concatenationAttach a seat number to a row
- std::string::substrRead a department on a semester timetable
Format and convert
Other text and parsing guides
- std::from_charsParse a whole quantity field without exceptions
- std::string_view::substr and findSplit a setting without copying its text
- std::memmoveRemove a printed prefix from a package code
- std::snprintfCheck whether a parcel label fits a buffer
- std::strcspnRemove the line ending from a delivery code