case: Introduce new functions for numbers and substrings in cases.