Jump to content

Uppercase cardinal directions


This topic is 2293 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I need to be able to uppercase all cardinal directions (NW, SE, etc) in an address field. I have this resolved using a Perform Find/Replace step for when these occur in the middle of a field ("[space]NW[space]"). However, often these occur to the far right of a field. Is there an easy way to simply uppercase the last two characters in a field without changing anything else that's been entered?

Link to comment
Share on other sites

Let ( [
    _left = Left ( Table::field ; Length ( Table::field ) - 2 ) ;
    _right = Right ( Table::field ; 2 )
] ;
    _left & Upper ( _right )
)

Note that this doesn't help you identify which records to apply this to.

Link to comment
Share on other sites

This topic is 2293 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.