mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[DOC] Improve String#strip documentation.
Patch by Josh Goldberg. [Fix GH-1933] [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
18fe495902
commit
2521b079fa
1 changed files with 1 additions and 0 deletions
1
string.c
1
string.c
|
@ -9015,6 +9015,7 @@ rb_str_strip_bang(VALUE str)
|
|||
*
|
||||
* " hello ".strip #=> "hello"
|
||||
* "\tgoodbye\r\n".strip #=> "goodbye"
|
||||
* "hello".strip #=> "hello"
|
||||
* "\x00\t\n\v\f\r ".strip #=> ""
|
||||
*/
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue