Type:
Class

Rake extension methods for String.

A String object holds and manipulates an arbitrary sequence of bytes, typically representing characters. String objects may be created using String::new or as literals.

Because of aliasing issues, users of strings should be aware of the methods that modify the contents of a String object. Typically, methods with names ending in “!'' modify their receiver, while those without a “!'' return a new String. However, there are exceptions, such as String#[]=.

<<

str str Instance Public methods AppendâConcatenates

2015-05-15 13:28:40
center

str.center(width, padstr=' ') â new_str Instance Public methods Centers str

2015-05-15 14:29:54
[]

str[index] â new_str or nilstr[start, length] â new_str or nilstr[range] â new_str or nilstr[regexp]

2015-05-15 13:47:31
kjust

kjust(len) Instance Public methods

2015-05-15 17:13:38
downcase!

str.downcase! â str or nil Instance Public methods Downcases the contents

2015-05-15 15:39:27
index

str.index(substring [, offset]) â fixnum or nilstr.index(regexp [, offset]) â fixnum or nil Instance

2015-05-15 17:02:29
ord

str.ord â integer Instance Public methods Return the Integer

2015-05-15 18:01:35
upto

str.upto(other_str, exclusive=false) {|s| block } â strstr.upto(other_str, exclusive=false) â an_enumerator

2015-05-15 21:14:30
next

str.next â new_str Instance Public methods Returns the successor to str

2015-05-15 17:39:59
setbyte

str.setbyte(index, integer) â integer Instance Public methods modifies the

2015-05-15 18:52:36