- 3 minutes to read

Formula - toUpperCase

Easily convert text to uppercase using the Nodinite toUpperCase Formula plugin. This page shows how to transform strings from message [Content][], [Context][], or the output of other formulas to uppercase.

🎯 Designed for business users and integrators — no developer required; you can even use AI to craft expressions.

  • ✅ Convert text to uppercase from any [Payload][body] or [Context][] in any Log Event
  • Standardize text for consistent data processing and case-insensitive comparisons
  • ✅ Transform and surface meaningful data in Nodinite Log Views, search filters, and self-service diagnostics
  • ✅ Combine with other Formula functions for powerful, layered expressions

What does the toUpperCase Formula do?

The toUpperCase(Content) Formula function converts all letters in the provided text to uppercase. Use this function to ensure data consistency across systems, especially when case sensitivity matters.


How it works: Input ➜ toUpperCase ➜ Result

graph LR A["Input: lowercase or MixedCase text"] --> B["toUpperCase(Content)"] B --> C["Result: UPPERCASE text"]

Flow: All letters in the content are converted to uppercase.


Syntax

Convert message body to uppercase: (See Example 1)

touppercase(body)

Convert message context to uppercase: (See Example 2)

touppercase(context('MessageContextKey'))

Convert nested formula result to uppercase: (See Example 3)

touppercase(jsonpath('$.path', body))

Common patterns:

touppercase(body)                         # Convert entire message to uppercase
touppercase(context('ProductCode'))      # Convert context value to uppercase
touppercase(xpath('//Status', body))     # Convert XML value to uppercase

Examples

Example 1: Convert message body to uppercase

Input

Message body is nodinite

Formula Expression

touppercase(body)

Result

NODINITE

Example 1


Example 2: Convert context value to uppercase

Input

Message context contains a property id with value gmt

Formula Expression

touppercase(context('id'))

Result

GMT

Example 2


Example 3: Convert result from another formula

Input

Message body is gmt utc

Formula Expression

touppercase(regex('gmt|utc', body))

Result

GMT, UTC

Example 3


Features

Important

The toUpperCase Formula converts all letters in the provided text to uppercase, ensuring data consistency across integrated systems. This function loads the entire message into RAM—use on small messages only.

  • Flexible Inputs: Convert from message [body][], [Context][], or the result of another Formula
  • Case Normalization: Standardize text for case-insensitive comparisons and consistent data processing
  • Composable: Combine with other Formula functions like [regex][] for advanced transformations
  • Self-Service: Let business users normalize text without developer intervention

How to use

To use the toUpperCase Formula in a Search Field Expression:

  1. Open your Nodinite Web Client
  2. Navigate to AdministrationSearch Fields
  3. Create or edit a Search Field
  4. Choose Formula as the expression type
  5. See Syntax section above for common patterns and usage examples

Next step