Difference between revisions of "Extensions.StringUtil.ToUpper"

From emotive
Jump to navigation Jump to search
(Created page with "Category:StringUtil == Classification == {{ClassificationActivity | ToUpper | Convert to uppercase | Term | OTX StringUtil extension | StringUtil rela...")
 
Line 3: Line 3:
 
{{ClassificationActivity | ToUpper | Convert to uppercase | [[Term]] | [[StringUtil|OTX StringUtil extension]] | [[StringUtil related terms]] | - | - }}
 
{{ClassificationActivity | ToUpper | Convert to uppercase | [[Term]] | [[StringUtil|OTX StringUtil extension]] | [[StringUtil related terms]] | - | - }}
  
== Pseudo-Code Syntax ==
+
== OTL Syntax ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
String ToUpper(String string);
+
StringTerm = ToUpper(StringTerm);
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 19: Line 19:
 
|}
 
|}
  
== Examples ==
+
== OTL Examples ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
String result = ToUpper("emotive");
+
String result;
//Returns result = "EMOTIVE"
+
result = ToUpper("emotive");
 
</syntaxhighlight>
 
</syntaxhighlight>
  

Revision as of 10:42, 10 February 2015

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 = ToUpper(StringTerm);

Description

The ToUpper term converts all lowercase characters of the specified string into their uppercase and returns the result.

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] The original string

OTL Examples

String result;
result = ToUpper("emotive");

See also

ReplaceSubString
MatchToRegularExpression
StringConcatenate
SubString
LengthOfString
IndexOf
SplitString
ToLower
Encode
Decode