Issue #14622 has been updated by rosenfeld (Rodrigo Rosenfeld Rosas).


Thanks :-)

----------------------------------------
Misc #14622: Improve documentation for 'string '.split to also mention trailing spaces being ignored
https://bugs.ruby-lang.org/issues/14622#change-71155

* Author: rosenfeld (Rodrigo Rosenfeld Rosas)
* Status: Closed
* Priority: Normal
* Assignee: 
----------------------------------------
The current documentation only talks about leading spaces being ignored when a single space is used as an argument. I've suggested a few changes to the documentation and example to make it clearer that trailing spaces are also ignored in that case:

https://github.com/ruby/ruby/pull/1845



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>