Sniper-BoOyA-
Registered User.
- Local time
- Today, 13:27
- Joined
- Jun 15, 2010
- Messages
- 204
Hi,
When populating a field using a QR code scanner i get the following string: F-W7F5LA-LENO|0000-000000|B01|2|1.00|2.00|z
However, I would like to split these in multiple textboxes. The delimiter in this case is the "|" character.
Example:
textbox1: F-W7F5LA-LENO
textbox2:0000-000000
textbox3:B01
textbox4:2
textbox5:1.00
textbox6:2.00
textbox7:z
I know i can use the LEFT and RIGHT functions to retrieve characters to the left of the first "|".
Just like inStr in the Query to retrieve location of the first "|", and retrieve some data that way.
However, since there are multiple "|" in the string, i was wondering if there is something similar to Excels Text to Columms function.
Thanks in advance!
Regards,
Michael Schrijver
When populating a field using a QR code scanner i get the following string: F-W7F5LA-LENO|0000-000000|B01|2|1.00|2.00|z
However, I would like to split these in multiple textboxes. The delimiter in this case is the "|" character.
Example:
textbox1: F-W7F5LA-LENO
textbox2:0000-000000
textbox3:B01
textbox4:2
textbox5:1.00
textbox6:2.00
textbox7:z
I know i can use the LEFT and RIGHT functions to retrieve characters to the left of the first "|".
Just like inStr in the Query to retrieve location of the first "|", and retrieve some data that way.
However, since there are multiple "|" in the string, i was wondering if there is something similar to Excels Text to Columms function.
Thanks in advance!
Regards,
Michael Schrijver