Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » How to split a sentence into words
Re: How to split a sentence into words [message #29786 is a reply to message #29774] Wed, 17 November 2010 09:07 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Note there is a 'ignoreempty' parameter (default = true) - if you set it to false, 'empty' texts are not ignored.

In other words (note that there are TWO spaces between words):

Split("Hello  world", ' ') == 2
Split("Hello  world", ' ', false) == 3

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Error in OLE?
Next Topic: [bug report]problem about processing WM_PAINT message
Goto Forum:
  


Current Time: Fri Apr 26 22:05:15 CEST 2024

Total time taken to generate the page: 0.03047 seconds