Using Filters in XanoScript
Filters in XanoScript are applied right after the target value using a| pipe character.
As an example, we have a text string stored in a variable called x1. We want to apply a capitalize filter to it.
This is what defining the variable would look like in XanoScript.
: characters to add and separate them.
As an example, we’ll take our text string and use the concat filter to append additional text to it with a separator. "hello" will become "hello, world". The concat filter asks for two parameters: a value and a separator. We’ll use : to separate each parameter.
capitalize filter specifically on "world" inside of the concat filter.