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 » Community » Newbie corner » docEdit /lineEdit to array
Re: docEdit /lineEdit to array [message #38343 is a reply to message #38339] Tue, 11 December 2012 20:15 Go to previous messageGo to previous message
lectus is currently offline  lectus
Messages: 329
Registered: September 2006
Location: Brazil
Senior Member
navi wrote on Tue, 11 December 2012 10:32

Beware that LineEdit::Get() on Win32 platform returns "\n\r" as like break not "\n". There is a function Split() exist that is able to break string using delimiter and retuns vector of string. Also Filter() can be use to clean up "\r". see this
http://www.ultimatepp.org/forum/index.php?t=msg&&th= 7064&goto=37872#msg_37872
and this
www.ultimatepp.org/forum/index.php?t=msg&goto=10491


Thanks for reminding me of Split(). Very handy function!
 
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Why isn't the data getting inserted?
Next Topic: sessions in Skylark
Goto Forum:
  


Current Time: Sun Aug 24 20:04:25 CEST 2025

Total time taken to generate the page: 0.06032 seconds