Fix for bug #34407 - ucwords and title case

Added support for ranges like trim() has
Updated NEWS for 34407