Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
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
MY CODE
ruby LRU cache with constant get/set
ElaineBrown** rextester.com
Arithmetic Operations, Function Calls, Recursion and more in Ruby
simple cache
Ruby
regex.rb
yes
boolean
piramid