str[fixnum] = new_strstr[fixnum, fixnum] = new_strstr[range] = aStringstr[regexp] = new_strstr[regexp, fixnum] = new_strstr[regexp, name] = new_strstr[other_str] = new_str
Instance Public methods
Element AssignmentâReplaces some or all of the content of str. The
portion of the string affected is determined using the same criteria as
String#[]. If the replacement string is not the same length as
the text it is replacing, the string will be adjusted accordingly. If the
regular expre