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#[]=.

squeeze

str.squeeze([other_str]*) â new_str Instance Public methods Builds a set

2015-05-15 19:27:23
dump

str.dump â new_str Instance Public methods Produces a version of str

2015-05-15 15:42:02
reverse!

str.reverse! â str Instance Public methods Reverses str in place

2015-05-15 18:20:49
block_scanf

block_scanf(fstr) Instance Public methods Scans the current string until the

2015-05-15 14:04:13
byteslice

str.byteslice(fixnum) â new_str or nilstr.byteslice(fixnum, fixnum) â new_str or nilstr.byteslice(range) â new_str or nil

2015-05-15 14:15:34
shorten

shorten( len = 120 ) Instance Public methods From tdiary.rb

2015-05-15 19:01:47
each_line

str.each_line(separator=$/) {|substr| block } â strstr.each_line(separator=$/) â an_enumerator

2015-05-15 16:01:33
split

str.split(pattern=$;, [limit]) â anArray Instance Public methods Divides

2015-05-15 19:20:42
tr_s!

str.tr_s!(from_str, to_str) â str or nil Instance Public methods Performs

2015-05-15 20:58:23
to_str

str.to_str â str Instance Public methods Returns the receiver.

2015-05-15 20:37:00