Data Converter icon

Data Converter

Convert between various data formats - Base64, Binary, JSON, XML, YAML, CSV, HTML, and more

Overview

This node performs various string transformations and data conversions. Specifically, for the String resource with the Capitalize First operation, it takes an input text string and capitalizes only the first character of that string, leaving the rest unchanged.

This operation is useful when you want to format text inputs where only the initial letter should be uppercase, such as names, titles, or sentences that require proper capitalization without altering the rest of the text.

Example use cases:

  • Formatting user input where only the first letter should be capitalized.
  • Preparing text for display in UI elements where sentence case is preferred.
  • Cleaning up data imported from sources with inconsistent casing.

Properties

Name Meaning
Input Data The text string to transform by capitalizing its first character.

Output

The output JSON contains a field named result which holds the transformed string with the first character capitalized.

Example output:

{
  "result": "Hello world"
}

No binary data output is produced by this operation.

Dependencies

  • No external services or API keys are required.
  • This operation uses internal utility functions for string manipulation bundled within the node's codebase.

Troubleshooting

  • Empty Input: If the input string is empty, the output will also be empty.
  • Non-string Input: Ensure the input is a valid string; otherwise, unexpected results may occur.
  • Error Handling: If an error occurs during execution, the node will throw an error unless configured to continue on failure.

Links and References

Discussion