I want to use the Python field calculator to remove the hyphen from a field column. For example, I would like to parse out the hyphen from an entry like "123-45-6789" and read "123456789".
Tell me more
×
Geographic Information Systems Stack Exchange is a question and answer site for
cartographers, geographers and GIS professionals. It's 100% free, no registration required.
|
Use the built-in Put this in the Expression box (replacing "FieldName" with your own):
|
|||
|
|
|
The
This will replace any instance of a "-" with an empty string. |
|||
|
|
