Difference between revisions of "Extensions.StringUtil.ToUpper"

From emotive
Jump to navigation Jump to search
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{DISPLAYTITLE:'''ToUpper '''}}[[Category:StringUtil]]
 
{{DISPLAYTITLE:'''ToUpper '''}}[[Category:StringUtil]]
 
== Classification ==
 
== Classification ==
{{ClassificationActivity | ToUpper | Convert to uppercase | [[Term]] | [[Extensions.StringUtil|OTX StringUtil extension]] | [[StringUtil related terms]] | - | - }}
+
{{ClassificationActivity | ToUpper | Convert to uppercase | [[Term]] | [[Extensions.StringUtil|OTX StringUtil extension]] | [[Extensions.StringUtil#Terms|StringUtil related terms]] | - | - }}
  
 
== OTL Syntax ==
 
== OTL Syntax ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
StringTerm = ToUpper(StringTerm);
+
StringTerm StringUtil.ToUpper(StringTerm string);
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 
== Description ==
 
== Description ==
The '''ToUpper''' term converts all lowercase characters of the specified string into their uppercase and returns the result.
+
The '''ToUpper''' term will return the uppercase counterpart of a given string.
  
 
{{TermReturnValue| [[Core.DataTypes.SimpleDataType.String|String]] | The converted to uppercase string.}}
 
{{TermReturnValue| [[Core.DataTypes.SimpleDataType.String|String]] | The converted to uppercase string.}}
Line 16: Line 16:
 
{| {{TableHeader}}
 
{| {{TableHeader}}
 
{{TableRowPropertiesHeader}}
 
{{TableRowPropertiesHeader}}
{{TableRowPropertie1| String | [[Core.DataTypes.SimpleDataType.String|String]] | [[Term]] | - | [1] | The original string}}
+
{{TableRowPropertie2| String | [[Core.DataTypes.SimpleDataType.String|String]] | [[Term]] | - | [1] | Represents the input string whose uppercase counterpart will be returned.}}
 
|}
 
|}
  
 
== OTL Examples ==
 
== OTL Examples ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
String result;
+
/// Local Declarations
result = ToUpper("emotive");
+
 
 +
String String1;
 +
 
 +
/// Flow
 +
 
 +
String1 = StringUtil.ToUpper("emotive");
 
</syntaxhighlight>
 
</syntaxhighlight>
  

Latest revision as of 03:18, 13 September 2019

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

StringTerm StringUtil.ToUpper(StringTerm string);

Description

The ToUpper term will 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 will 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