Difference between revisions of "Extensions.StringUtil.ToUpper"

From emotive
Jump to navigation Jump to search
Line 5: Line 5:
 
== OTL Syntax ==
 
== OTL Syntax ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
StringTerm = StringUtil.ToUpper(StringTerm);
+
/// Local Declarations
 +
String StringVariable = "";
 +
/// Flow
 +
StringVariable = StringUtil.ToUpper(StringTerm);
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 21: Line 24:
 
== OTL Examples ==
 
== OTL Examples ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 +
/// Local Declarations
 +
 
String String1;
 
String String1;
  

Revision as of 09:01, 25 October 2018

Classification

Name ToUpper
Short Description Convert to uppercase
Class Term
Extension OTX StringUtil extension
Group StringUtil related terms
Exceptions -
Checker Rules -
Standard Compliant Yes

OTL Syntax

/// Local Declarations
String StringVariable = "";
/// Flow
StringVariable = StringUtil.ToUpper(StringTerm);

Description

The ToUpper term shall return the uppercase counterpart of a given string.

Return Value

The Term returns the value, see table below.

Icons Note.png In OTX, Terms are categorized according to its return data type!
Data Type Description
String The converted to uppercase string.

Properties

Name Data Type Class Default Cardinality Description
String String Term - [1] Represents the input string whose uppercase counterpart shall be returned.

OTL Examples

/// Local Declarations

String String1;

/// Flow

String1 = StringUtil.ToUpper("emotive");

See also

ReplaceSubString
MatchToRegularExpression
StringConcatenate
SubString
LengthOfString
IndexOf
SplitString
ToLower
Encode
Decode