Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
38.4K+ articles
DSA
22.5K+ articles
Python
20.5K+ articles
Experiences
16.6K+ articles
Interview Experiences
14.1K+ articles
JavaScript
11.7K+ articles
School Learning
11.4K+ articles
Ruby
1.2K+ articles
Ruby-Methods
926+ articles
Ruby-Basics
37+ articles
Ruby-String
5 posts
Recent Articles
Popular Articles
Ruby - String split() Method with Examples
Last Updated: 03 July 2020
split is a String class method in Ruby which is used to split the given string into an array of substrings based on a pattern specified.Here the pattern can be a Regular E...
read more
Ruby
Ruby-Methods
Ruby-String
Ruby | String Interpolation
Last Updated: 02 January 2023
String Interpolation, it is all about combining strings together, but not by using the + operator. String Interpolation works only when we use double quotes ("") for the s...
read more
Technical Scripter
Ruby
Picked
Ruby-String
Ruby Search and Replace
Last Updated: 25 September 2019
sub and gsub string methods that use regular expressions, and their in-place variants are sub! and gsub!. The sub & sub! replaces the first occurrence of the pattern and g...
read more
Ruby
Ruby-Methods
Ruby-String
Ruby | Regular Expressions
Last Updated: 17 September 2019
A regular expression is a sequence of characters that define a search pattern, mainly for use in pattern matching with strings. Ruby regular expressions i.e. Ruby regex fo...
read more
Ruby
Picked
Ruby-Basics
Ruby-String
Ruby | String Basics
Last Updated: 30 July 2018
In Ruby, string is a sequence of one or more characters. It may consist of numbers, letters, or symbols. Here strings are the objects, and apart from other languages, stri...
read more
Ruby
Ruby-Basics
Ruby-String
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !