Hi, I've been encountering a problem with using the TokenAt expression and assigning the output value to a variable. Upon using the NW.JS and readfile expression to read a text file, I use TokenAt(textfile, 1, newline) to get the text contents of the 2nd line and I set the value of a text variable to this.
However, upon comparing the text variable using the find expression or just comparing two variables (=), it does not seem to work. The condition does not detect the text in that variable to be identical to the string.
If you are wondering what I mean, assuming textvariable = "asdf", I use compare variable, textvariable = "asdf" but the condition is false. Same thing with replace. It works when I use TokenAt with a single line text file, so I'm not sure what's going on here.
However, using the debugger, I checked that the values of the variable was accurate, but when I selected the value of it, not change anything but simply press ENTER to deselect, the condition becomes true. Any idea what is going on?
Thanks!