<div dir="ltr"><div><div><div><div><div><div><div>Dear list,<br><br></div>I just ran into something very odd while trying to parse a string to extract a filename from a path with [list fromsymbol].<br></div>Please look at the patch attached. I try to loop backward through the fields of a line in a [text] object to find the first "/" (code 47). <br><br>When I do it "manually" (load the list and get the last field, then decrease the counter with a bang until I reach the last "/", everything works fine, and the counter starts at 17 and goes down.<br><br></div>But when I try to automate it by checking if the output equals 47 and by sending a bang to my counter when it's not, I get a very strange result. The counter actually starts at the last occurrence of "/" (47) in field 8, and then goes up to 17. <br><br></div>I am probably very tired and I must be missing something obvious. But right now this looks like aliens have hacked into Pd and are playing with my nerves.<br><br></div>Thanks in advance for your help,<br></div>Pierre.<br><br></div>PS : I've been using the new text and array objects and I think they're very useful, though not always super intuitive.<br></div>