Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Include a backslash in text quotes

DKinsley
Level 9
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
jasotastic81
Correct answer by
Level 7
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
jasotastic81
Correct answer by
Level 7
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