FORMAT A STRING BASED ON INFLECTOR

Applies an Inflector-based string transformation to a scalar value, supporting common casing and grammatical conversions such as camelCase, humanize, pluralize, and singularize. Use this worker wherever a workflow needs to normalize or reformat a string label, identifier, or word before passing it downstream.

When to use

Classification: process.

Tagged: camelize, capitalize, format, humanize, inflector, lowercase, pluralize, singularize.

Inputs

Label ID Type Default Required Description
Value To Be Formatted valuetobeformatted scalar The raw scalar string value to be transformed; provide any word, phrase, or identifier that needs reformatting.
Type type string %s   The Inflector transformation to apply; choose one of: camelize (UpperCamelCase), uppercase, lowercase, humanize (space-separated human-readable), pluralize, capitalize (first letter upper), or singularize — defaults to pass-through (‘%s’) if left unset.

Outputs

Label ID Type Description
string_inflector_output_1 string_inflector_output_1 scalar The transformed scalar string result after the selected Inflector operation has been applied to the input value.

Disciplines

  • data.dataset.transform

Runnable example

A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: /api/workflow/example?id=string_inflector


Auto-generated from transformation schema. Worker id: string_inflector. Schema hash: 1393eb79a5bb. Hand-curated docs in workerexamples/ override this page when present.