-
Formating 2,11,425.405 to 211425405
Hi,
Is it possible to format string in this way?
I want to format number 2,11,425.405 to 211425405
In VB it used to be possible with format function or with Instr, substr,
Left, Right functions for searching commas spliting string at commas and
again combing its parts.
I VB.net we could not find equivalent functions to Instr, substr ,Left,
Right.
Format function also not helping much.
Please help.
Thanks in Advance,
Sonali
-
Re: Formating 2,11,425.405 to 211425405
On Fri, 1 Nov 2002 10:24:02 +0900, "Sonali" <sonalit@nichiai.com> wrote:
¤ Hi,
¤
¤ Is it possible to format string in this way?
¤ I want to format number 2,11,425.405 to 211425405
¤
¤ In VB it used to be possible with format function or with Instr, substr,
¤ Left, Right functions for searching commas spliting string at commas and
¤ again combing its parts.
¤
¤ I VB.net we could not find equivalent functions to Instr, substr ,Left,
¤ Right.
¤ Format function also not helping much.
You can find them in Microsoft.VisualBasic namespace (Strings module). But you might want to use the
String class methods (IndexOf, Replace, etc.) instead.
Paul ~~~ pclement@ameritech.net
Microsoft MVP (Visual Basic)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks