Using javascript function?

wondering if it’s possible to convert state to abbreviated state

like this Convert state name to abbreviation in JavaScript. There's some better solutions in the comments, so scroll down! · GitHub

You can run any Javascript with Execute Script - or better in this case ExecuteScript_Sandbox

ExecuteScript_Sandbox is a very powerful design, which enable ui.vision do lots of works, beyond RPA.