Skip to content

Tag Archives: Ruby String-class

each_grapheme_cluster is a String class method in Ruby which is used to pass each grapheme cluster in the given string to the given block, or… Read More
each_codepoint is a String class method in Ruby which is used to pass the integer ordinal of each character in the given string. It is… Read More
each_str is a String class method in Ruby which is used to passes each character in the given string to the given block, or returns… Read More
each_byte is a String class method in Ruby which is used to passes each byte in the given string to the given block or returns… Read More
dump is a String class method in Ruby which is used to generate a version of the given string with all non-printing characters replaced by… Read More
delete_suffix! is a String class method in Ruby which is used to return a a copy of the given string with trailing suffix deleted or… Read More
delete_prefix! is a String class method in Ruby which is used to return a a copy of the given string with leading prefix deleted or… Read More
delete_suffix is a String class method in Ruby which is used to return a a copy of the given string with trailing suffix deleted. Syntax:… Read More
delete_prefix is a String class method in Ruby which is used to return a a copy of the given string with leading prefix deleted. Syntax:… Read More
delete! is a String class method in Ruby which is used to perform a delete operation, returning the given string, or nil if the given… Read More
delete is a String class method in Ruby which is used to return a copy of the given string with all characters in the intersection… Read More
crypt is a String class method in Ruby which is used to returns the string generated by calling crypt(3) standard library function with str and… Read More
count is a String class method in Ruby. In this method each parameter defines a set of characters to which is to be counted. The… Read More
codepoints is a String class method in Ruby which is used to return an array of the Integer ordinals of the characters in str. Syntax:… Read More
clear is a String class method in Ruby which is used to make the string empty. Syntax: str.clear Parameters: Here, str is the given string.… Read More

Start Your Coding Journey Now!