4 Replies Latest reply on Dec 6, 2010 5:31 PM by BobSchwenkler

    Position function. Negative occurrence problem.

    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?