Allow multiple Replace functions in one Arcade expression

Idea created by DCRW_erica.tefft on Feb 26, 2019
    New
    Score60
    • DCRW_erica.tefft
    • michael.lachance
    • mtrust
    • Buckeye18
    • DakeHenderson
    • Samantha_Coccia_Schillo

    It would be great if it was possible to utilize multiple replace functions in one Arcade expression in ArcGIS Online. Currently, only the last replace function is actually honored and the others are ignored. See example below:

     

    Replace($feature["Gate_Number"], '51 east entrance', 'East Entrance')

    Replace($feature["Gate_Number"], '54 middle entrance', 'Middle Entrance')

    Replace($feature["Gate_Number"], '1', 'West Entrance')