B
basi
Hello,
Is there a way to say in Ruby:
"astring"[0../r/] #"ast"
"astring"[/ast/..-1] #"ring"
In other words, indexing using a "pattern".
Thanks,
basi
Is there a way to say in Ruby:
"astring"[0../r/] #"ast"
"astring"[/ast/..-1] #"ring"
In other words, indexing using a "pattern".
Thanks,
basi