Community

FlexiCapture Split Field Script

I'm currently trying to split and reverse a captured field in FlexiCapture.

I have a script but I can't get the actual functions I need to work!

Functions that I'm trying but get the 'xxx is not declared. It may be inaccessible due to it's protection level' are:

Left

Right

Mid

Split

Join

 

Any help would be much appreciated! 

0

Comments

1 comment

  • Avatar
    Scott Chau

    Where are you writing this script?  Here is an example of a script I used in the rules.  This seem to work fine for me in VB Script.  You can see its using Len.  Can you send attach a screenshot of your error message?

     


    me.Field("FileName").Text = Right(me.Field("OriginalFile").Text, Len(me.Field("OriginalFile").Text) - InStrRev(me.Field("OriginalFile").Text, "\"))

    0

Please sign in to leave a comment.