Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
interacting through strings with loops
str = "hello world" puts str[0] puts str[1] puts str[4] i = 2 puts str [i] # interating through strings with loops i = 0 #cotains all charaters while i < str.length #str.length pulls are string items puts str [i] i += 1 end
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
ruby LRU cache with constant get/set
piramid
variables output
3.4.0 / 3.5.2 / 3.5.1 / 3.6.1 / 3.6.5.#
MY CODE
Ruby Inheritence
Calculator
variables 1
Adiel Vasquez
MACK FIRST wall
Please log in to post a comment.