Domanda

@str .length = @str.length()

outputs

abcde .length = 5

I tried various escaping techniques, but didn't find the correct one. How do I output

abcde.length = 5

?

È stato utile?

Soluzione

This migration tutorial covers it:

Jack is a @(vice)maniac.
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top