column “Location” contains the value “/Users/admin/Documents/garbage-classification/paper/Row1625.jpg” in the String Manipulation Node I’m using the expression substr($Location$, 45, lastIndexOfChar($Location$, '\\' )) to extract the values. But the new column which is created is empty. On Windows it’s working fine.
I don’t see a backslash in the sample value you provided - what do you expected to be the result of the String Manipulation node’s action on this value?