https://kotlinlang.org logo
r

Ruckus

05/24/2017, 2:38 PM
Escaping and string interpolation are two different things. Personally, I use interpolation in raw strings all the time (for example, when building complex regex patterns).
👍 1
e

elect

05/24/2017, 2:40 PM
ruckustboom: I'd like to have the possiblity to have simply
$
in triple quotes
I am working on an ascii85 converter and it'd be confortable to have something like that
r

Ruckus

05/24/2017, 2:42 PM
I can definitely see the reasons, but you can't have it both ways. The advantage of allowing string interpolation is the workaround to get a
$
character is fairly simple and straightforward, whereas if you didn't, you would have to resort to Java methods of building strings.
😕 1
f

fitzoh

05/24/2017, 2:43 PM
I’ve been using it a lot for building json payloads for tests
3 Views