Burak,
For documentation on what is allowed & how to use String.Format see:
http://msdn.microsoft.com/library/de...ttingtypes.asp
As you can tell from the above link, .NET does not allow custom formatting
of strings, as does custom formatting of strings really make sense? In cases
where custom formatting of strings does make sense (such as data entry) you
may be able to create a Custom Formatter object (implement the
ICustomFormatter & IFormatProvider interfaces)
http://msdn.microsoft.com/library/de...classtopic.asp
that uses the other string methods to reformat you string.
If your string is truly a number, you might be able to convert it into a
number first then apply one of the above custom numeric formats to the
string.
Hope this helps
Jay
"Burak" <bu*********@xpandcorp.com> wrote in message
news:b1**************************@posting.google.c om...
Hello,
I would like to format the string "11304200" into
"11-3042.00".
Can I do this with String.Format method? I have not come across any good
documentation.
Thank you,
Burak