Difference between revisions of "Extensions.StringUtil.StringConcatenate"
Jump to navigation
Jump to search
(8 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | [[Category:StringUtil]] | + | {{DISPLAYTITLE:'''StringConcatenate '''}}[[Category:StringUtil]] |
== Classification == | == Classification == | ||
− | {{ClassificationActivity | StringConcatenate | Concatenation of strings | [[Term]] | [[StringUtil|OTX StringUtil extension]] | [[StringUtil related terms]] | | + | {{ClassificationActivity | StringConcatenate | Concatenation of strings | [[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 | + | StringTerm StringUtil.StringConcatenate({StringTerm[ ] string}); |
</syntaxhighlight> | </syntaxhighlight> | ||
== Description == | == Description == | ||
− | The '''StringConcatenate''' term | + | The '''StringConcatenate''' term will yield a new string which is the concatenation of two or more strings. |
− | {{TermReturnValue| [[String]] | Concatenation of two or more strings}} | + | {{TermReturnValue| [[Core.DataTypes.SimpleDataType.String|String]] | Concatenation of two or more strings}} |
== Properties == | == Properties == | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{ | + | {{TableRowPropertie2| String | [[Core.DataTypes.SimpleDataType.String|String]] | [[Term]] | - | [2..*] | The elements represent the '''strings''' that will be concatenated.}} |
− | |||
|} | |} | ||
== 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; | ||
− | String1 = StringConcatenate({"emotive", "company"}); | + | /// Flow |
+ | |||
+ | String1 = StringUtil.StringConcatenate({"emotive", "company"}); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== See also == | == See also == | ||
− | [[ReplaceSubString]] <br/> | + | [[Extensions.StringUtil.ReplaceSubString|ReplaceSubString]] <br/> |
− | [[MatchToRegularExpression]] <br/> | + | [[Extensions.StringUtil.MatchToRegularExpression|MatchToRegularExpression]] <br/> |
− | [[SubString]] <br/> | + | [[Extensions.StringUtil.SubString|SubString]] <br/> |
− | [[LengthOfString]] <br/> | + | [[Extensions.StringUtil.LengthOfString|LengthOfString]] <br/> |
− | [[IndexOf]] <br/> | + | [[Extensions.StringUtil.IndexOf|IndexOf]] <br/> |
− | [[SplitString]] <br/> | + | [[Extensions.StringUtil.SplitString|SplitString]] <br/> |
− | [[ToUpper]] <br/> | + | [[Extensions.StringUtil.ToUpper|ToUpper]] <br/> |
− | [[ToLower]] <br/> | + | [[Extensions.StringUtil.ToLower|ToLower]] <br/> |
− | [[Encode]] <br/> | + | [[Extensions.StringUtil.Encode|Encode]] <br/> |
− | [[Decode]] | + | [[Extensions.StringUtil.Decode|Decode]] |
Latest revision as of 03:17, 13 September 2019
Contents
Classification
Name | StringConcatenate |
Short Description | Concatenation of strings |
Class | Term |
Extension | OTX StringUtil extension |
Group | StringUtil related terms |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
StringTerm StringUtil.StringConcatenate({StringTerm[ ] string});
Description
The StringConcatenate term will yield a new string which is the concatenation of two or more strings.
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
String | Concatenation of two or more strings |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
String | String | Term | - | [2..*] | The elements represent the strings that will be concatenated. |
OTL Examples
/// Local Declarations
String String1;
/// Flow
String1 = StringUtil.StringConcatenate({"emotive", "company"});
See also
ReplaceSubString
MatchToRegularExpression
SubString
LengthOfString
IndexOf
SplitString
ToUpper
ToLower
Encode
Decode