create a string is with Kernel's String method: : string variable « String « Ruby
- Ruby
- String
- string variable
create a string is with Kernel's String method:
title = String( "Much Ado about Nothing" )
puts title # => Much Ado about Nothing
Related examples in the same category