4 ms·
Ruby string interpolation (might be the exact same as Perl): %[string] or %^string^ or %(string), etc. Basically % followed by any pair of the same character ar
by werdnapk 8y ago
Ruby string interpolation (might be the exact same as Perl): %[string] or %^string^ or %(string), etc. Basically % followed by any pair of the same character around a string works.
https://en.wikibooks.org/wiki/Ruby_Programming/Syntax/Literals#The_.25_Notation https://en.wikibooks.org/wiki/Ruby_Programming/Syntax/Litera...