[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Vb.net Split , string with numbers (1,000) creates aditional fields  problem

Posted on 2009-04-07
1
Medium Priority
?
272 Views
Last Modified: 2012-05-06
HI,

Im trying to split a string that is coma delimited but also contains numbers formated as 1,000
this is then split into two fields when it should be just one. Is there anything that can be done about this ?

Michal
0
Comment
Question by:MichMat
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 15

Accepted Solution

by:
David L. Hansen earned 2000 total points
ID: 24093086
Yes, if there is a way of detecting the delimiting commas from the others (the ones given as an association to currency).  Perhaps there is a space or other patterns which can be of use.  See below for an example...

1,000, 2,000, Joe Miller, 4,000.99

You see the space the follows each delimiting comma reveals it.  If however there is no way to make the distinction, no pattern from which you can deduce the two, there is nothing to be done I'm afraid :)

Per chance you do find such a pattern, change the dilimiting commas to somthing else (a tilda ~ or pipe | will do) then use the split command on that.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question