JCC Express

Strings

Introduction

JCC Express MVC provides string utilities through Str (jcc-express-mvc/lib/util/Str.ts).

Access it either by import or global helper:

TypeScript

Common transformations

TypeScript

Inflection helpers

Backed by inflection:

TypeScript

There are multiple variants (plural*, singular*) for casing styles.


Search and extraction helpers

TypeScript

Note: methods reflect current implementation behavior exactly.


Formatting and masking

TypeScript

Encoding and validation helpers

TypeScript

IDs and generated values

TypeScript

Summary

  • Use str() or Str for reusable string operations.
  • Includes casing, inflection, extraction, masking, encoding, and generation helpers.
  • Favor these helpers to keep transformations consistent across your app.