
Creator
2018-01-19
06:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to include a single quote (') within a String?
Hey,
So suppose I wanted to have this Set Expression where I want to Calculate the Sales in the country, Cote D'Ivorie
I used
Sum ( { $< Country = { 'Cote D'Ivore'} >} Sales).
But the problem is The String ends after it reads the ( ' ) after the D in the country name.
What is the workaround for this?
1 Solution
Accepted Solutions

MVP
2018-01-19
03:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 Replies


Partner Ambassador/MVP
2018-01-19
02:18 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Code the single quote twice.
Sum ( { $< Country = { 'Cote D''Ivore'} >} Sales)
-Rob

MVP
2018-01-19
03:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can read more about what Rob has suggested here
