Forum Discussion
jeffrey_crowley
11 years agoContributor
Alexei,
I just tried aqString.Quote() and it's not working quite as you thought. According to the Quote Method page,
The Quote method returns the quoted version of the given string (InputString). This function inserts quotation marks at the beginning and at the end of the string. The quotation mark is specified by the QuoteSymbol property, its default value is a double quote ( " ).
So... all it does it add quotes at the start and end of a string. There is no mention of double quoting quotes inside the string.
I just tried this example:
Log.Message(aqString.Quote("1-1/2\", 2-2/3\""));
It returned "1-1/2", 2-2/3" instead of your expected "1-1/2"", 2-2/3"""
If I'm missing something, please correct me but I think I will stick with my alternate separator for now... :)
Related Content
- 7 years ago
- 3 years ago
- 3 months ago
- 8 years ago
- 3 years ago
Recent Discussions
- 3 days ago
- 3 days ago
- 6 days ago