The ruby bug was not a bug but to explain this in short.
The delete function deletes ANY CHARACTER that is in the substring. So "trausti".delete("tr") would delete both t's and the r.
This actually makes the delete function more powerful in my eyes but dangerous.
Any how, this is now corrected
This is my blog and hosts my opinions on basically everything that I have opinions on
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment