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++ Core » [FIXED] String::Replace(empty string,) => Out of memory!
Re: [BUG] String::Replace(empty string,) => Out of memory! [message #43079 is a reply to message #43076] Sat, 03 May 2014 15:52 Go to previous message
mirek is currently offline  mirek
Messages: 14261
Registered: November 2005
Ultimate Member
omari wrote on Fri, 02 May 2014 19:03
thanks Mirek, problem solved.

i am agree any string has the empty substring, but how many times?
- 1 at position 0
- or 1 at position 0 and 1 at the end
- or infinity?

if there is more than one, i think t_find can returns (from).

what do you think?



Right! Sorry, somehow I forgot to account for "from".

Mirek
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Surprising behavior of CParser
Next Topic: [FEATURE REQUEST] bool AMap::HasKey(K key) ;
Goto Forum:
  


Current Time: Wed Jun 18 07:16:48 CEST 2025

Total time taken to generate the page: 0.05694 seconds