Quantcast
Channel: Latest Questions on Splunk Answers
Viewing all articles
Browse latest Browse all 13053

Trim a zip code to 5 characters

$
0
0

This has to be an easy answer...I am just not seeing it or it is just a warm Friday and my brain is asleep.

I have a column of results with zip codes e.g.

94101 
94102
941031514
941321600

I want to cut out the last 4 characters (if they exist). So all the results are 5 characters only


Viewing all articles
Browse latest Browse all 13053

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>