Uppercase
Converts all characters in a string to uppercase.
Common Properties
- Name - The custom name of the node.
- Color - The custom color of the node.
- Delay Before (sec) - Waits in seconds before executing the node.
- Delay After (sec) - Waits in seconds after executing node.
- Continue On Error - Automation will continue regardless of any error. The default value is false.
info
If the ContinueOnError property is true, no error is caught when the project is executed, even if a Catch node is used.
Inputs
- String - The string to convert to uppercase.
Options
This node does not have configurable options.
Output
- Result - The uppercase version of the input string.
How It Works
The Uppercase node converts all lowercase letters to their uppercase equivalents:
- Lowercase letters (a-z) → uppercase (A-Z)
- Already uppercase letters remain unchanged
- Numbers and special characters remain unchanged
- Unicode characters are properly converted
Usage Examples
Example 1: Convert Mixed Case
- String:
"Hello World" - Result:
"HELLO WORLD"
Example 2: Already Uppercase
- String:
"HELLO" - Result:
"HELLO"
Example 3: All Lowercase
- String:
"hello world" - Result:
"HELLO WORLD"
Example 4: With Numbers and Symbols
- String:
"product-abc-123" - Result:
"PRODUCT-ABC-123"
Example 5: Unicode Characters
- String:
"café" - Result:
"CAFÉ"
Tips
- Use for emphasis in output messages
- Great for constant definitions and codes
- Use for standardizing identifiers (product codes, reference numbers)
- Combine with Trim for complete normalization
- Useful for display formatting (headers, titles)
- Database lookup keys sometimes require uppercase
Common Errors and Solutions
Error: Need to convert only first letter (title case)
- Cause: Uppercase converts all characters
- Solution: Use custom logic or combine with substring operations
Error: Special characters affected
- Cause: Misunderstanding - special characters don't change
- Solution: Only letters are converted, numbers and symbols unchanged
Practical RPA Examples
Example: Standardize Product Codes
String: "prod-abc-123"
Uppercase: "PROD-ABC-123"
Use: Consistent product code format
Example: Create Headers
String: "important notice"
Uppercase: "IMPORTANT NOTICE"
Use: Emphasize headers in reports
Example: Normalize State Codes
String: "ca"
Uppercase: "CA"
Use: Standard US state abbreviations
Example: Format License Plate
String: "abc123"
Uppercase: "ABC123"
Use: Standard license plate format
Example: Create Constants
String: "max_connections"
Uppercase: "MAX_CONNECTIONS"
Use: Configuration constant names
Example: Database Keys
String: "user_id_12345"
Uppercase: "USER_ID_12345"
Use: Uppercase database keys
Pattern: Case-Insensitive Comparison
Compare strings regardless of case:
Step 1: Uppercase first string
Step 2: Uppercase second string
Step 3: Compare uppercased strings
Result: Case-insensitive match
Pattern: Generate Identifiers
Create standardized identifiers:
Step 1: Concatenate parts
Step 2: Replace spaces with underscores
Step 3: Uppercase
Result: "ORDER_ID_2024_001"
Pattern: Format Display Text
Create emphasized text:
Input: "warning: system error"
Uppercase: "WARNING: SYSTEM ERROR"
Use: Alert messages
Use Cases
Product Codes
Input: "item-abc-123"
Uppercase: "ITEM-ABC-123"
Use: Standard product identifiers
Country Codes
Input: "usa"
Uppercase: "USA"
Use: ISO country codes
Status Messages
Input: "error"
Uppercase: "ERROR"
Use: Log level indicators
Currency Codes
Input: "usd"
Uppercase: "USD"
Use: ISO currency codes
Combining with Other Nodes
With Replace
Input: "order id 123"
Replace " " with "_": "order_id_123"
Uppercase: "ORDER_ID_123"
With Concatenate
Prefix: "REF"
ID: "123"
Concatenate: "REF123"
Uppercase: "REF123"
With Trim
Input: " product code "
Trim: "product code"
Uppercase: "PRODUCT CODE"
Practical Examples
Create Reference Numbers
Year: "2024"
Sequence: "0001"
Concatenate: "2024-0001"
Uppercase with prefix: "REF-2024-0001"
Format Error Codes
Code: "err"
Number: "404"
Result: "ERR-404"
Use: Standard error code format
Standardize Acronyms
Input: "usa, uk, eu"
Split: ["usa", "uk", "eu"]
Uppercase each: ["USA", "UK", "EU"]
Join: "USA, UK, EU"
Display Formatting
Headers
"monthly sales report" → "MONTHLY SALES REPORT"
Alerts
"warning" → "WARNING"
Labels
"total amount" → "TOTAL AMOUNT"
Related Nodes
- Lowercase - Convert to lowercase
- Trim - Remove whitespace
- Replace - Replace characters
- Concatenate - Build strings before uppercasing