Hello everyone
I need help building an app, I've tried everything but it doesn't work.
I have a Qr Code that scanning it gives me this as a result:
[)> 06 20L<|>5402 1L<|>5961 1P<|>380-11-522
Now pressing the SCAN button on the app, I would like to automatically have the string above, split like this in each label:
Label1 : 5402
Label2 : 5961
Label3 : 380-11-522
Could you help me?
Solved! Go to Solution.
Hi @Davidnho87 ,
Just checking if you got the result you were looking for on this thread. Happy to help further if not.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Hi @Davidnho87 ,
Firstly to split them (drop-down example below)
The code I used (txSplit is the text box above),
With(
{
wItems:
Split(
txSplit.Text,
"<|>"
)
},
LastN(
wItems,
3
)
)
Now for the labels -
if you put this on a button
With(
{
wItems:
Split(
txSplit.Text,
"<|>"
)
},
ClearCollect(
colItems,
LastN(
wItems,
3
)
)
)
First Label is
First(colItems).Result
Second
Last(
FirstN(
colItems,
2
)
).Result
and the Third
Last(colItems).Result
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Hi @Davidnho87 ,
Just checking if you got the result you were looking for on this thread. Happy to help further if not.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.