Working with Strings

Learn about the variables of String type and how you can operate with them in Ruby.

A String object represents text

A String object, or simply string, is an object that represents a specific text. For example, your name is represented as one string in Ruby. The title of this text is another string, and so is this paragraph, as is this full text.

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy