2 ms·You can reduce the time to 0.02s by just using `String#index`.by sinap 9y agoYou can reduce the time to 0.02s by just using `String#index`.