Before I try this the long way, is there a quick way of inserting a string into
another string at certain positions? Such as, I want to insert commas into
a string that contains the size of a file, the file has all numbers and no comma
seperations between hundreds, thousands etc;
Raw string currently holds say this: 5472392
I want to insert the commas so the string ends up as: 5,472,392
Any quick way of doing this? Or as I planned on looping with some splitting of
the string and putting the string back together with new data, the only way to
go?
Thanks,
-Garrett
another string at certain positions? Such as, I want to insert commas into
a string that contains the size of a file, the file has all numbers and no comma
seperations between hundreds, thousands etc;
Raw string currently holds say this: 5472392
I want to insert the commas so the string ends up as: 5,472,392
Any quick way of doing this? Or as I planned on looping with some splitting of
the string and putting the string back together with new data, the only way to
go?
Thanks,
-Garrett