Quantcast
Channel: CRM Development Forum
Viewing all articles
Browse latest Browse all 888

Getting the right most characters in a string using Java

$
0
0

I have a field in crm that is a pick list.  The data in it looks like this:

Air Fare - 64510-000-04

Bus/Taxi Fare - 64520-000-04

Entertainment - 64600-000-04

Other

I want to take the 12 right most characters and put them into anouther field with the ones that end with a number.  If it doen't end with a number (as the other field doesn't), then I just want to do nothing.

Can someone give me an example of how to do this?


Thanks, Dale


Viewing all articles
Browse latest Browse all 888

Trending Articles



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