DEV Community

Robiabo
Robiabo

Posted on

Margin Indentation In Strings | Problem

Hello guys,
I was practising some of Kotlin on the coding ground.
It's about margin indentation. I practised using the pipe with the function .trimMargin(). And I applied it correctly.
Now, I'm trying the triangle prefix. But it doesn't work.
Here's the link if you want to check.
http://tpcg.io/ieHQZzJs

Top comments (2)

Collapse
 
robiabo profile image
Robiabo

I applied what you mentioned and it works. Thanks a lot.