Skip to main content
2 of 3
Improved formatting
aldo_tapia
  • 13.8k
  • 5
  • 32
  • 58

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.

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