In exercire 11-4 Part 3 Step 7 I get an error
Expression.Error: The value isn’t a single-character string.
Details:
Value=", "
Analise of the puctuation list I found out that the problems occurs on the bold section below:
= {" ", "~", ",", ".", "?", "!", "(", ")", "[", "]", "{", "}", "@", "#", "$", "%",
"^", "&", "", "-", "+", "=", ":", ";", "|", "<", ">", "/", """, """, "\", """",
"#(tab)", "#(cr)", "#(lf)"}
The error does not occus when I replace the punctustion list with
= {" ", "~", ",", ".", "?", "!", "(", ")", "[", "]", "{", "}", "@", "#", "$", "%","^", "&", "", "-", "+", "=", ":", ";", "|", "<", ">", "/", "’", "\", """","#(tab)", "#(cr)", "#(lf)"}
""", """ replaced with "’" (Single quot)
Best Answer
Thank you Wouter for reporting this issue.
The original code contains curly double quotes that were printed by mistake as straight double quotes. You can find the correct punctuation list in the solution files (e.g. C11E04 – Solution.pbix)
The correct code should be with curly double quotes:
= {" ", "~", ",", ".", "?", "!", "(", ")", "[", "]", "{", "}", "@", "#", "$", "%",
"^", "&", "*", "-", "+", "=", ":", ";", "|", "<", ">", "/", "“", "”", "\", """",
"#(tab)", "#(cr)", "#(lf)"}
(See section: "“", "”" )
Please login or Register to submit your answer