var myRoute = <your route field>
If Count(myRoute) == 1 {
return concatenate('00',myRoute)
}
else {
If Count(myRoute) == 2 {
return concatenate('0',myRoute)
}
else {
return myRoute
}
Plug the returned myRoute variable back into your URL.......Or, something like that. P.S. maybe add another "if" condition for properly formed routes, i.e. check for "Count(myRoute) == 3" just to make sure you are working with clean data.
Anyway, literally learning Arcade today and thought I'd take a crack at your question.
Thanks,
Dan