Disregard Dashes in a search workflow
I have been looking in the forums for a topic that discusses how to build a search workflow that can disregard certain characters.
Our Assessor Parcels contain dashes in the number (APN) such as 123-456-78-90. Our permitting system contains these dashes. However, our GIS dataset of parcels does not have dashes (1234567890). In our GE site, I would like our users to be able to copy-paste from our permitting system into the APN search workflow without needing to remove the dashes.
I am sure this is easy. I am just overlooking something.
Thanks in advance for your advice!
Jason
-
Hi Jason,
Use an assign activity, create a string variable called APNinGIS and set the assignment to look like APNinGIS = UserInputedString.Replace("-","")
This activity will remove the dashes if they are present. If a user enters the APN without dashes nothing bad will happen.regards,
Edmond0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar