A Value Converter can be used alongside other value converters and you can infinitely chain them using the |
pipe separator.
${myString | toUppercase | removeCharacters:'&,%,-,+' | limitTo:25}
The above theoretical example firstly applies toUppercase
which capitalizes our string. Then it applies the removeCharacters
Value Converter which allows us to remove specific characters from our string and lastly we limit the length of the string to 25 characters using limitTo
.
Note: the above Value Converters do not actually exist. They are purely for example purposes only.