AnsweredAssumed Answered

Position function. Negative occurrence problem.

Question asked by BobSchwenkler on Dec 6, 2010
Latest reply on Dec 6, 2010 by BobSchwenkler

Title

Position function. Negative occurrence problem.

Post

Hi, I'm working on a script, trying to use get(FilePath) with some additional functions to return the path of the active file folder.

I'm not able to get it working, the position function seems to not be behaving as the functions reference says it ought.

Position(Get(FilePath);"/";1;-1), where get(FilePath) is file:/Macintosh HD/Bicycle Records/Databases/Bicycle Records Main.fp7 returns 0, where it seems like it should return 45. Is there something I'm missing here?

Outcomes