String Commands (Template Language)
String and text commands defined in Software Ideas Modeler Template Language.
Command Name | Result Type | Description |
---|---|---|
ToLower(text) | String | Returns the text with characters converted to lowercase. |
ToUpper(text) | String | Returns the text with characters converted to uppercase. |
Trim(text) | String | Removes whitespaces from beginning and end of the string. |
Length(text) | String | Returns the length of the string. |
Substring(text, index, [length]) | String | Returns substring of text, which starts from character on index position and continues with next characters specified by length parameter. If length parameter is omitted, substring with start in index and end in the end of the original text is returned. |
Space(x) | String | Adds x spaces. If parameter is omitted, one space is added. |
Indent(x) | String | Adds 4*x spaces. |
Tab(x) | String | Adds x tabs. If parameter is omitted, one tab is added. |
Line(x) | String | Adds x lines. If parameter is omitted, one line is added. |
New Comment