Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

location of a string ruby

example = "esoijxdciv"
puts example.index(ij)
puts example.index(es)
puts example.index(civ)
 
PREVIOUS NEXT
Tagged: #location #string #ruby
ADD COMMENT
Topic
Name
8+7 =