Select to view content in your preferred language

Remove spaces from route identifier in route event

2980
3
Jump to solution
12-12-2014 04:50 AM
kenhubbard
Deactivated User

I am trying to display a route event, but because of leading, trailing or intermediate spaces in the route identifier I only get about a tenth of the events displaying.

I am using a personal database and a route shape file, I can modify the personal database, but the problem is the inconsistancy in the shape file.

Is there any way to remove the spaces like using a variable created with SQL somewhere like SELECT REPLACE(Route identifier, ' ','')?

any help is greatly appreciated

0 Kudos
1 Solution

Accepted Solutions
SwenWaschk
Deactivated User

Using the field calculator try:

!FieldName!.replace(" ", "")

That should take care of the spaces

View solution in original post

0 Kudos
3 Replies
SwenWaschk
Deactivated User

Using the field calculator try:

!FieldName!.replace(" ", "")

That should take care of the spaces

0 Kudos
kenhubbard
Deactivated User

Never used Field Calculator before, whole new world of possibilities

Thank you!

0 Kudos
SwenWaschk
Deactivated User

🙂

0 Kudos