Skip to main content
edited tags; edited title
Link
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345

Using Field Calculator Scriptwith .replace?

Improved formatting
Source Link
aldo_tapia
  • 13.8k
  • 5
  • 32
  • 58

I'm using the Field Calculator . replacereplace function to replace WEST, EAST, NORTH  , SOUTH to W, E,N N and S and I'm using 4 scripts !PREDIR! .replace ("WEST*","W") ..!PREDIR!.replace("WEST*","W") and so forth and.

I would like to use one string to do this, how can I do this?

I'm using the Field Calculator . replace function to replace WEST, EAST, NORTH  , SOUTH to W E,N and S and I'm using 4 scripts !PREDIR! .replace ("WEST*","W") .. and so forth and would like to use one string to do this

I'm using the Field Calculator .replace function to replace WEST, EAST, NORTH, SOUTH to W, E, N and S and I'm using 4 scripts !PREDIR!.replace("WEST*","W") and so forth.

I would like to use one string to do this, how can I do this?

Source Link

Field Calculator Script .replace

I'm using the Field Calculator . replace function to replace WEST, EAST, NORTH , SOUTH to W E,N and S and I'm using 4 scripts !PREDIR! .replace ("WEST*","W") .. and so forth and would like to use one string to do this