String Operators
How to use String operators
The following are the available string operators in AQS.
Length
Example of how to use the Length operator
Find items where the length of the string attribute attributes_welcomesName
is 5
.
{
"type": "Query",
"properties": {
"dodiCode": "designs_welcomes"
},
"children": [
{
"type": "Equals",
"children": [
{
"type": "Length",
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_welcomesName"
}
}
]
},
{
"type": "Number",
"properties": {
"value": [5]
}
}
]
}
]
}