Ruby strings and input
Clean up names, compare codes, and read quantities from a form.
Inspect text and Unicode
- String#[]Read the seat row
- String#each_codepointCount symbols in an attendance reaction
- String#empty?Check for an untouched delivery note
- String#lengthCheck the length of a parcel code
- String#ordInspect an emoji feedback tag
- String#stripCheck an attendance comment
Find and compare
- String comparisonOrder two shelf areas
- String#casecmp?Match a booking code regardless of letter case
- String#end_with?Find filenames with a receipt extension
- String#eql?Verify a locker code
- String#include?Find a word on a shelf label
- String#indexLocate the hyphen in a classroom code
- String#match?Accept a printed seat identifier
- String#rindexFind the final dot in an archive name
- String#start_with?Recognize an invoice prefix
Clean and replace
- String#downcaseNormalize a course tag
- String#gsubHide both ticket numbers
- String#gsubPrint a shelf code with readable separators
- String#lstripAlign a pasted seat label
- String#rstripKeep the indentation of a timetable
- String#stripClean up a copied booking code
- String#subMask just the first locker number
- String#upcaseStandardize an airport code
Split, join, and extract
- Array#joinPrint a campus shuttle route
- String#+Attach a seat number to a row
- String#linesCount handover tasks
- String#sliceRead a department on a semester timetable
- String#splitCount stops in a shuttle record
Format and convert
- Kernel#formatPrint a student badge
- String#*Draw three completed checkpoints
- String#bytesizeMeasure a café line on a receipt