- 2 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 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.


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. Enter one of the following Syntax patterns

Syntax

Convert message body:

touppercase(body)

Convert message context property:

touppercase(context('PropertyName'))

Convert with nested formula:

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

Next step