I have a form with a concatenated textbox with string information separated by a comma. Example: (2)01-1210,(6)388108,(4)75342
(2) within the parenthesis is the qty, and the remaining number is the part#. There can be a string one or more of this qty and part # separated by a comma.
When I click a minus button on the form, I have already saved the qty without the parenthesis and the part# in a separate string. strQty, strPart. I want to remove the qty, the parenthesis on both sides of qty, the part#, and the comma Ex: (6)388108, from the concatenated textbox based on the separate string information I have saved.
I need to grab and delete it in whatever position it is within the textbox. The position doesn't matter.
I'm unsure how to identify it and delete only the values I have stored in my strQty and strPart from the concatenated textbox and delete the parentheses and comma.
Your help is greatly appreciated.
Thanks,
Ben
(2) within the parenthesis is the qty, and the remaining number is the part#. There can be a string one or more of this qty and part # separated by a comma.
When I click a minus button on the form, I have already saved the qty without the parenthesis and the part# in a separate string. strQty, strPart. I want to remove the qty, the parenthesis on both sides of qty, the part#, and the comma Ex: (6)388108, from the concatenated textbox based on the separate string information I have saved.
I need to grab and delete it in whatever position it is within the textbox. The position doesn't matter.
I'm unsure how to identify it and delete only the values I have stored in my strQty and strPart from the concatenated textbox and delete the parentheses and comma.
Your help is greatly appreciated.
Thanks,
Ben