Java strings and input
Clean up names, compare codes, and read quantities from a form.
Inspect text and Unicode
- String.charAtRead the zone on a boarding pass
- String.charsCount ASCII digits in a ticket label
- String.codePointAtIdentify an emoji on a shift roster
- String.codePointBeforeRead the final delivery status symbol
- String.codePointCountCount symbols in a student response
- String.codePointsCount symbols in a feedback message
- String.isEmptyCheck an optional delivery note
- String.lengthCheck the length of a parcel code
- String.offsetByCodePointsTake two symbols for a badge preview
Find and compare
- String.equals and equalsIgnoreCaseCheck a pickup code
- String.compareToOrder two shelf labels
- String.compareToIgnoreCaseSort campus codes regardless of capitalization
- String.containsFind a word on a shelf label
- String.contentEqualsCheck a ticket assembled by a scanner
- String.endsWithFind filenames with a receipt extension
- String.indexOfLocate a separator on a parcel label
- String.lastIndexOfRead the final extension of an invoice
- String.matchesValidate a classroom seat code
- String.regionMatchesMatch a carrier code inside a label
- String.startsWithRecognize an invoice prefix
Clean and replace
- String.strip and isBlankClean a name from a signup form
- String.replaceFormat a shelf label
- String.replaceAllNormalize spacing on a shipping label
- String.replaceFirstUpdate the first stop on a route
- String.stripIndentAlign a copied two-level checklist
- String.stripLeadingAlign a pasted delivery address
- String.stripTrailingClean the end of a shelf label
- String.toLowerCaseNormalize a product tag
- String.toUpperCaseStandardize an airport code
- String.trimClean padding from a classroom code
Split, join, and extract
- String.split and Pattern.quoteSeparate the fields of an order
- String.substringTake the shop code from a receipt
- String.concatBuild a locker identifier
- String.joinPrint a shopping list on one line
- String.linesCount entries in a two-line shopping note
- String.splitWithDelimitersKeep punctuation when editing a route
- String.subSequencePass a course prefix to a text API
Format and convert
- String.copyValueOfTake the serial number from a scanner buffer
- String.formatPrint a zero-padded queue ticket
- String.formattedPrint a student and course on one label
- String.getBytesMeasure an accented receipt in transit
- String.getCharsCopy a parcel number into a print buffer
- String.indentIndent a packing checklist
- String.repeatDraw a divider on a receipt
- String.toCharArrayMask one position in a badge preview
- String.toStringDisplay a course code from a generic text field
- String.transformTurn a room-capacity field into a number
- String.translateEscapesRead two rows from a saved print template
- String.valueOfPrint the count of remaining seats
Construction and JVM APIs
- String constructorsDecode a parcel label
- String.describeConstableDescribe a course label for a bytecode tool
- String.hashCodeMatch a freshly scanned catalog key
- String.internCanonicalize a repeated import status
- String.resolveConstantDescResolve a label from a JVM constants exercise