Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using commas in listbox without getting a new line??

Status
Not open for further replies.

DanSc0tt

MIS
Sep 17, 2001
30
0
0
DE
Hi,

Have a string similar to below

15000;898983;363849;2738389

which I place into a listbox via additem.

i want to place comma's in the string so that the numbers are easier to read in the lisbox i.e.

15,000;898,983;363,849;2,738,389

But when i do this it creates new lines after the comma.

Which also happens when I use the formatnumber function.

Any ideas on a quick fix??

thanjks
 
Use space instead of comma.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top