Good day!
I have a textbox that gets placed into a variable that's "dim"ed as a String.
This textbox allows quite a bit, including comma's (,). When this string includes a comma, and I try to place it into a listbox, it seperates the sentence.
For example:
If txtStuff = "Hello, my name is Sucoyant"
It will be placed into the listbox like this:
Hello
my name is Sucoyant
Is there any way I can work around this, so it will create just one entry, instead of seperating it after the comma?
Thanks in advance!
________________________________________
Buddha. Dharma. Sangha.
I have a textbox that gets placed into a variable that's "dim"ed as a String.
This textbox allows quite a bit, including comma's (,). When this string includes a comma, and I try to place it into a listbox, it seperates the sentence.
For example:
Code:
dim strItem as string
strItem = Me.txtStuff
Me.lstOJunk.Additem (strItem)
If txtStuff = "Hello, my name is Sucoyant"
It will be placed into the listbox like this:
Hello
my name is Sucoyant
Is there any way I can work around this, so it will create just one entry, instead of seperating it after the comma?
Thanks in advance!
________________________________________
