Error in script parsing text.

ATTENTION: This forum is no longer active. Please navigate to our new support site at https://support.starfishetl.com/
Viewing 1 posts (of 1 total)
Justin Kuehlthau
Administrator - Author
Post count: 24
#1

Hello,

This Starfish script is not returning any valid values.  It Checks fine when I replace the variable with a string.  When running the script itself it just errors out.
Function ScriptedField                sText = @@ORG:PhoneNumber@@                ScriptedField=Left(sText, InStr(sText, "/")-2)End Function

Thank you,Justin Kuehlthau

Comments (1)

Aron Hoekstra's picture Aron Hoekstra
Administrator
Post count: 2
#2

I think you need quotes around the variable… you’re treating the phone number like text, so this should do it:
sText = “@@ORG:PhoneNumber@@”

Log in to post comments
Viewing 1 posts (of 1 total)

Forum Login

Login or sign up for our forums to connect to the user community.

Reply

You must log in to post.

Not a Member? Register.