L
Lars Andren
I've got a problem when trying to split a string after the thrid
occurrence of a slash ('/'), I'm so used to java-thinking so I keep
wanting to iterate through it and save the position of the third
occurence and then cut the string at that index.
This doesnt seem to be the Ruby-way, anyone got ideas of how I should do
it?
Grateful for any assistance,
Lars
occurrence of a slash ('/'), I'm so used to java-thinking so I keep
wanting to iterate through it and save the position of the third
occurence and then cut the string at that index.
This doesnt seem to be the Ruby-way, anyone got ideas of how I should do
it?
Grateful for any assistance,
Lars