Quantcast
Channel: SCN : Unanswered Discussions - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 3719

How to remove trailing commas

$
0
0

Hi

I am using BODS 14.1.1.210.

 

I am trying to remove the trailing commas at the end but not remove the commas in between the string.

 

Eg

 

INPUT                             OUTPUT

240 V, 720W,,,,,,,,,          240 V, 720W

john, sam ,,,                    john, sam

sam, 24 years,,,,,,,,,,,,     sam, 24 years

 

Is there a function I can use to remove the commas at the right like rtrim_blank_ext used to trim blanks from right?

 

Cheers!!


Viewing all articles
Browse latest Browse all 3719

Trending Articles



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