right
Full name: taxi.stdlib.right
Signature
declare extension function right(source:String, count:Int):StringDescription
Returns the rightmost count characters from a string.
find { account: Account } as {
suffix: String = account.code.right(4)
}Examples
Extracts the last N characters from a string.
Try it out
Schema
Query Plan
Play with this snippet by editing it here, or edit it on Taxi Playground
Result
Query failed