DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
8+7 =
Submit