troubleshooting Question

Extracting Data from a String in Visual Basic 6

Avatar of steverguy
steverguy asked on
2 Comments1 Solution373 ViewsLast Modified:
I have a string like this:

Amount: ||15 Qty:1  SKU #:B1011 - New Book

I need to pull the B1011 out of it as well as the Price (15) and the QTY.
This is from a shopping cart program and multiple items are seperated by a vbCrLF

So for orders with more than one product, I need to extract all of the SKU#s, QTYs and Prices...

Amount: ||15 Qty:1  SKU #:B1011 - New Book
Amount: ||17.95 Qty:1  SKU #:B1012 - Another Book

Any suggestions?  I'm kinda stumped.


Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros