add case check functions to String module