quote property
Quotes the String
adding "" at the start & at the end.
Removes all " characters from the String
before adding the quotes.
Example
String text = '"""Is this real"';
String quote = text.quote; // "Is this real"
Implementation
String get quote {
if (isBlank) {
return blankIfNull;
}
String normalizedString = replaceAll('"', '');
return normalizedString.wrap('"');
}