gistlib
other ruby categories
strings code snippets in ruby
append a string to the end of another string in ruby
convert a number from base 10 to base 16 in ruby
count words in array in ruby
create a password with uppercase letters in ruby
create a sha3_256 hash from a string in ruby
find the kth index of a substring in a string in ruby
find the last index of a character in a string in ruby
find the length of a string in ruby
find the root directory of a directory in ruby
generate random string in ruby
if a string begins with a bullet or dash, remove it. in ruby
iterate an array of strings with index in ruby
join an array of substrings into a string in ruby
join two strings in ruby
prepend a string to the beginning of another string in ruby
remove a character from a string at a specific index in ruby
replace a substring in a string in ruby
split a string into an array of substrings in ruby
split a string into two strings in ruby
write to a file in ruby
gistlib
by LogSnag