Skip to main content

IP address working with strings in Java Plug-In

Comments

1 comment

  • David Paras

    The backslash was the culprit. In a Javascript string any character you want to ignore must be proceeded by a backslash. Since the string I was retrieving from the flow was a IP address path looking like \\10.14.8.16\C$\CustomerInput\SD4 I needed to code it like this \\\\10.14.8.16\\C$\\CustomerInput\\SD4 to make it ignore the backslashes.

    Once I knew that little secret the rest was easy.

    0

Please sign in to leave a comment.