How would I take a string and not knowing the dynamic length, insert characters at specific spots. For example, say there is a counter on a web site that counts how many visitors have hit the page and add's one to the entry in the database. Now it's displayed on the page saying 1, 2, 3, 4, 5, 6, etc. What about when it hit's 1000 and I want to display a comma after the 1 so it is like "1,000", but stays like that when it hits 10,000, and what about a million so it is like: 1,000,000?
How can one specify the exact area's the commas are shown for any givin amount? -Ovatvvon :-Q
How can one specify the exact area's the commas are shown for any givin amount? -Ovatvvon :-Q