Expand my Community achievements bar.

SOLVED

Include a backslash in text quotes

Avatar

Level 9

I need to be able to include backslashs in a script that adds text to a textfield.

Example:    this.rawValue = "\\Start\now.";

1 Accepted Solution

Avatar

Correct answer by
Level 7

you'll need an extra backslash for each one you want to present in the field.

So, if you want to get "\\start\now.", you need "\\\\Start\\now."

this.rawValue = "\\\\Start\\now."

View solution in original post

2 Replies

Avatar

Correct answer by
Level 7

you'll need an extra backslash for each one you want to present in the field.

So, if you want to get "\\start\now.", you need "\\\\Start\\now."

this.rawValue = "\\\\Start\\now."