The TalendString routine contains several functions which allow you to carry out various operations on alphanumerical expressions.
You can access these functions by double-clicking the TalendString node under the system routines folder in the Repository tree view.
Function |
Description |
Syntax |
---|---|---|
AddEscapeChars |
Adds a specified character before each special character (that is, a character that is not a letter, a digit, _, or space) in a string. | TalendString.addEscapeChars("padding chars",'escape char')
|
|
returns a string from which the special characters (eg.:: <, >, &...) have been replaced by equivalent XML characters. |
|
|
identifies characters starting with |
|
|
parses the entry string and removes the filler characters from the start and
end of the string according to the alignment value specified:
|
|
|
removes accents from a string and returns the string without the accents. |
|
|
generates a random string with a specific number of characters. |
|
unionString |
Combines the variable number of strings with a specified string
separator . |
TalendString.unionString(String separator,Object...
objects)
|