Formating 2,11,425.405 to 211425405


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Formating 2,11,425.405 to 211425405

  1. #1
    Sonali Guest

    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



  2. #2
    Paul Clement Guest

    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
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center