Hello
I have a problem when reading from a txt file when I put the item number to get me its name and price, an example in the items file there is
Code name price
0002,banana,35
2,Apple,20
When he comes with the class example, I want class 0002. The second class comes to me with the example that starts with 2, meaning it does not read 0 from the beginning. What is the solution to the problem?
My solution will work for the OP's problem where AI2 treats "equivalent" strings and number the same.
An empty string will/may not work.
Hard coded in the blocks, yes, but it is only an assisted conditional test, and has not impact on the underlying data. You could potentially use this approach with any "variable", depending on the content and circumstances.