Directives
<<StringUpperCase:>>
<<StringLowerCase:>>
<<StringSentenceCase:>>
<<StringCapitalCase:>>
<<StringRemoveSpaces:>>
<<StringConvertUnderlines:>>
General
All string directives can be used within the following data subregions:
SetString
Stream
Template
Display
StringUpperCase Directive
Assignment
SetString
urgent_message := <<StringUpperCase:Message>>
The StringUpperCase directive converts all letters in a string data item to uppercase.
StringLowerCase Directive
Stream
M:\Matrix\Scenarios\Model\Logging\Stream_
<<StringLowerCase:Customer.First_name>>_
<<StringLowerCase:Customer.Last_name>>.txt
The StringLowerCase directive converts all letters in a string data item to lowercase.
StringSentenceCase Directive
Template
<<|>>The Question:
<<:>>
<<TabIn>>
<<:>><<StringSentenceCase:Puzzle.Question>>?
<<TabOut>>
<<:>>
The StringSentenceCase directive converts the first letter of the first word to uppercase and all remaining letters to lowercase.
StringCapitalCase Directive
Display
<<:>>Progress Title: <<StringCapitalCase:current_stage>>
The StringCapitalCase directive converts the first letter of all words to uppercase and all remaining letters to lowercase.
StringRemoveSpaces Directive
Assignment
SetString
Entity.Date := <<StringRemoveSpaces:Entity.Date>>
The StringRemoveSpaces directive simply removes all spaces in a string.
StringConvertUnderlines Directive
Template
<<|>>Home Town: <<StringConvertUnderlines:Customer.Address>>
<<:>>
The StringConvertUnderlines directive changes all underline characters to spaces in a string.
|