This question already has an answer here:
Suppose to be a easy one
I get a compiler error for this:
var str:String = "117\/7024" I gauss i have a problem with either / but i cant find an answer how to correct this String
This question already has an answer here:
Suppose to be a easy one
I get a compiler error for this:
var str:String = "117\/7024" I gauss i have a problem with either / but i cant find an answer how to correct this String
Looks like you are trying to re-define str which you might have defined before yourself. I would not recommend this type of variable name, even if it is legal.
Also, you need to leave a space after the =.
EDIT: Your original question quoted the string as "117/7024", which does not give this error. I suppose you meant to write "117\7024".
To escape a backslash, use "117\\7024"."177\u{7024}".