Example Transform icon

Example Transform

Basic text transformation operations

To Uppercase

AI-generated

Summary

Convert text to uppercase.

Inputs

  • text (required) — The text to transform

Output shape

a single record containing the transformed text and original text

Returns an object with the keys 'result' (uppercase text), 'originalText' (the input text), and 'operation' (the operation performed). The operation will always be 'toUpperCase'.

Examples

Example 1: Transform 'hello world' to uppercase

Text input as 'hello world' should output {'result': 'HELLO WORLD', 'originalText': 'hello world', 'operation': 'toUpperCase'}.

Discussion