I'm trying to create an app and I'm facing the following problem.
I first scan a QR code, from which I get information separated by punctuation marks:
Title1,Information1;Title2,Information2;Title3,Information3;
With this information I want to fill in several information boxes in which the title is already (coincides in both). In other words, I want you to fill in the Title1 box with the Information1.
Could you help me with this problem of how to analyze a complete text?
Thank you
Solved! Go to Solution.
Hi @Jebelsan ,
Do you want to fill in information to corresponding textinput controls by using a long text?
If so, I've made a similar test for your reference:
1)insert a lable named Label1
set it Text:
"Title1,Information1;Title2,Information2;Title3,Information3;"
2)insert 3 lables named Label2, Label3, Label4
insert 3 textinputs named textinput1,textinput2,textinput3
Set Lable2's Text: "Title1"
Set textinput1's Default:
Replace(LookUp(Split(Label1.Text,";"),Label2.Text in Result,Result),1,7,"")
Set Lable3's Text: "Title2"
Set textinput2's Default:
Replace(LookUp(Split(Label1.Text,";"),Label3.Text in Result,Result),1,7,"")
Set Lable4's Text: "Title3"
Set textinput3's Default:
Replace(LookUp(Split(Label1.Text,";"),Label4.Text in Result,Result),1,7,"")
Then, the corresponding textinput controls will be filled in corresponding information.
Best regards,
Hi @Jebelsan ,
Do you want to fill in information to corresponding textinput controls by using a long text?
If so, I've made a similar test for your reference:
1)insert a lable named Label1
set it Text:
"Title1,Information1;Title2,Information2;Title3,Information3;"
2)insert 3 lables named Label2, Label3, Label4
insert 3 textinputs named textinput1,textinput2,textinput3
Set Lable2's Text: "Title1"
Set textinput1's Default:
Replace(LookUp(Split(Label1.Text,";"),Label2.Text in Result,Result),1,7,"")
Set Lable3's Text: "Title2"
Set textinput2's Default:
Replace(LookUp(Split(Label1.Text,";"),Label3.Text in Result,Result),1,7,"")
Set Lable4's Text: "Title3"
Set textinput3's Default:
Replace(LookUp(Split(Label1.Text,";"),Label4.Text in Result,Result),1,7,"")
Then, the corresponding textinput controls will be filled in corresponding information.
Best regards,
User | Count |
---|---|
256 | |
111 | |
95 | |
48 | |
40 |