R strings and input
Clean up names, compare codes, and read quantities from a form.
Inspect text and Unicode
- ncharCount symbols in an attendance reaction
- ncharCheck the length of a parcel code
- nzcharCheck for an untouched delivery note
- substrRead the seat row
- trimwsCheck an attendance comment
- utf8ToIntInspect an emoji feedback tag
Find and compare
- endsWithFind filenames with a receipt extension
- gregexprFind the final dot in an archive name
- greplAccept a printed seat identifier
- grepl (literal)Find a word on a shelf label
- identicalVerify a locker code
- regexprLocate the hyphen in a classroom code
- startsWithRecognize an invoice prefix
- tolowerMatch a booking code regardless of letter case
Clean and replace
- gsubHide both ticket numbers
- gsubPrint a shelf code with readable separators
- subMask just the first locker number
- tolowerNormalize a course tag
- toupperStandardize an airport code
- trimwsClean up a copied booking code
- trimwsKeep the indentation of a timetable
- trimwsAlign a pasted seat label
Split, join, and extract
- strsplitSplit literal dotted version numbers
- pastePrint a campus shuttle route
- paste0Attach a seat number to a row
- strsplitCount handover tasks
- substrRead a department on a semester timetable
Format and convert
- nchar (bytes)Measure a café line on a receipt
- sprintfPrint a student badge
- strrepDraw three completed checkpoints