Solved

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

Posted on 2009-04-07
1
269 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 500 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

690 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