Transforms which appear in the template list when a variable length text field, of type nvarchar or varchar, has been picked in the Transform pane.
Text operations usually provide a choice of Collation, which is how we control whether case is significant. The default choice is a neutral, nocase collation, meaning case is not significant. Change to neutral collation to make case significant in text operations. When saving to the desired Result destination, transforms allow choice of text type for saving, either nvarchar or varchar.
For examples and illustrations of options and available operations, click on the template's link to jump to that template's topic.
Change the case of text, international style using a Collation to specify language. Specification of lower, title, or upper case overrides any nocase setting in the Collation.
|
|
Compose a text value conforming to the syntax of the specified text standard:
|
|
Combine text from the source field with other text by adding at the beginning or the end text from another field, a value or an expression, using an optional Separator string of characters. The Separator string is added only if both values are not empty.
The text in the Separator box is often just a single character, such as a space character, but it could be a string of more than one character. It could be a comma character followed by a space, as often is used when concatenating field values together when building a list of field values separated by a comma.
For example, given a Value of The and a Separator that is just the space character, a source text of Netherlands is transformed into The Netherlands. Given a Value of The and a Separator box containing Republic of with space characters at the beginning and end, we transform Ireland to The Republic of Ireland.
Because the separator string is added only when both texts (the original field, and that specified) are not empty, that makes it easy to build sequences of comma separated items. For example, if we concatenate a field to the starting field using a Separator of ', ' (a comma character and a space character), we can safely do the concatenation even if the starting field is empty, because in that case the ', ' will not be added to start the list.
For example, if the starting text is John and we concatenate Paul using a Separator of ', ' (a comma character and a space character), the result will be John, Paul.
If the starting text is empty and we concatenate Paul using a Separator of ', ' (a comma character and a space character), the result will be Paul - it will not be , Paul with an unwanted comma character and space character preceding Paul. |
|
Copy into the Result destination the text value or quantity extracted or computed from the source field text.
|
|
Encrypt or decrypt text in the source field using a password taken from a field, a given value, or from an expression.
The transform utilizes a simple AES256 based encryption mechanism. The key is first hashed using 128-bit SHA and then the hash is used to encrypt the data. |
|
Save the result of the given expression into the specified Result destination, creating new fields using the specified type. |
|
Pad text from the source field to the specified length by adding at the beginning or the end repeated text from another field, a value or an expression. The Repeat text is often a single character.
|
|
Cut out portions of text from the source field and save to the specified Result destination. The Start numbering is zero based: starting at the first letter of the text is a Start number of 0, and starting at the second letter of text is a Start number of 1.
|
|
Replace portions of text with other text. The text to be replaced can be specified either as plain text or as a regular expression.
|
|
Reverse the order of characters in the text. For example, Netherlands becomes sdnalrehteN. |
|
Remove characters from the start, the end, or from both the start and end of a string, removing either whitespace characters, any character that occurs in a custom list of characters or both whitespace and custom list characters. By default the template trims whitespace characters from the start and the end of the source text.
The Characters box allows specifying what characters will be trimmed.
The Value box that appears for custom and whitespace and custom choices allows specifying a field in the table, a value that is a list of characters, or an expression. For example, using the value choice, to trim both upper case E and lower case e from a text, enter Ee into the Value box. When used with start and end, that will trim Europe to urop. To trim all lower case and upper case vowels, enter aeiouyAEIOUY into the Value box. When used with start and end, that will trim Europe to rop. Since both upper case E and lower case u are found in the Value box list, both characters will be trimmed from the start of the text. |