Hi, I'm Ask INFA!
What would you like to know?
ASK INFAPreview
Please to access Ask INFA.

Table of Contents

Search

  1. Preface
  2. Understanding Data Types and Field Properties
  3. Designing Processes
  4. Using and Displaying Data
  5. Designing Guides
  6. Designing Process Objects
  7. Designing Service Connectors
  8. Using App Connections
  9. System Services, Listeners and Connectors
  10. Designing Human Tasks

Design

Design

upper-case

upper-case

The upper-case function in XQuery converts all the characters in a given string to their uppercase equivalents according to the Unicode standard. This function is helpful for normalizing text for comparison or display purposes.

Syntax

fn:upper-case(arg)
The following table describes the argument for this command:
Argument
Required/Optional
Description
arg
Required
The input string whose characters are to be converted to uppercase. If this argument is an empty sequence (
()
), it is treated as an empty string.

Return Value

  • Returns a new string where all lowercase letters in the input string have been converted to uppercase.
  • Non-alphabetic characters and characters that do not have an uppercase equivalent remain unchanged.
  • If the input is an empty string, it returns an empty string.

Examples

The following table lists some sample values and return values:
SAMPLE FUNCTION
OUTPUT
fn:upper-case('query')
QUERY
fn:upper-case('QUERY')
QUERY
fn:upper-case('Query')
QUERY
fn:upper-case('query-123')
QUERY-123
fn:upper-case("123abc!@#")
"123ABC!@#"
fn:upper-case("")
""

0 COMMENTS

We’d like to hear from you!