Author: Seraphi | Posted on: 2/12/2009 5:28:28 AM | Views : 259

 Hello all,
 Using VB I'm trying to have a multiline textbox that a user will put in a quantity and a name as follows:
3xApple
2xPear
4xOrange
And when they click a button I want each part of this as a separate value, so far I have the following:
 
Function GetSingleCards(ByVal AllFruits As String) As String

Dim OurFruits As String() = Nothing
Dim SingleFruit As String
Dim ReturnThis As String

OurFruit = AllFruits.Split(vbCrLf)

For Each SingleFruit In OurFruits

ReturnThis &= SingleFruit & ", "

'Later on we will use this section to i ...

Go to the complete details ...