Find last comma in string

  • Thread starter Thread starter shapper
  • Start date Start date
S

shapper

Hello,

I need to replace the last comma in a string by " and ". How can I do
this?

Thanks,
Miguel
 
shapper said:
Hello,

I need to replace the last comma in a string by " and ". How can I do
this?

Thanks,
Miguel


Does your list potentially contain currency strings? If so, I hope that one
of your test strings is "$3,000.00, $4,000.00, $5,000.00".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

String. Get words ... 4
Double to String. Force the use of Dot 9
Remove characters from string 2
Regular expression 4
Don't add comma 2
List<String>. Replace 15
String Replace 3
CSV to List 7

Back
Top