Topics
Ruby String
About this topic: Articles tagged __TAG__
Showing 12 articlesRelated tags
Topics
Articles
Showing 12 articles
How-tos
How to Write Multi-Line String in Ruby
Learn how to write multi-line strings in Ruby with this comprehensive guide. Explore various methods including heredoc, string interpolation, array join, and concatenation, each …
↗
How-tos
How to Combine Array to String in Ruby
This tutorial explores how to combine arrays into strings in Ruby. Learn various methods such as using the join method, reduce for custom concatenation, and string interpolation. …
↗
How-tos
How to Convert a String to Lowercase or Uppercase in Ruby
Learn how to convert strings to lowercase or uppercase in Ruby with simple methods. This article provides clear examples and explanations for both downcase and upcase, as well as …
↗
How-tos
How to Compare Strings in Ruby
Learn how to compare strings in Ruby using the double equal operator and the eql? method. This comprehensive guide provides clear examples and explanations, helping you understand …
↗
How-tos
Difference Between puts and print in Ruby
Explore the key differences between puts and print in Ruby in this informative article. Learn how each method functions, their unique characteristics, and practical examples to …
↗
How-tos
Literal for Double-Quoted Strings in Ruby
This tutorial explores the literal for double-quoted strings in Ruby, highlighting their features like interpolation and special character sequences. Learn how to effectively use …
↗
How-tos
How to Get Substring in Ruby
This tutorial demonstrates how to get a substring in Ruby.
↗
How-tos
How to Convert Array to String in Ruby
This article introduces how to convert an array to a string in Ruby.
↗
How-tos
How to Check Whether a String Contains a Substring in Ruby
In this article, we will explore the methods on how to check whether a string contains a substring in Ruby, discussing their syntax and functionality.
↗
How-tos
How to Concatenate Strings in Ruby
In this article, we'll discuss the different ways on how to concatenate strings in Ruby.
↗
How-tos
How to Trim a String Without Creating a New String in Ruby
This article shows the different methods on how to trim a string without creating a new string in Ruby.
↗
How-tos
How to Capitalize String in Ruby
A short tutorial about different methods on how to capitalize a string in Ruby.
↗
No articles found
Try clearing the filters.