Home » U++ Library support » U++ Core » Problem with StringReplace [solved]
Problem with StringReplace [solved] [message #7905] |
Wed, 31 January 2007 08:31  |
WebChaot
Messages: 53 Registered: September 2006 Location: Austria, Vienna
|
Member |
|
|
Hi all!
I was looking for a simple replace function - after a while of searching found such function in "TCore". But what I want to do doesnt work - maybe I do something wrong:
I have some Strings ...
Vector<String> Lines;
... and fill them ...
Lines = Split(LargeStringFromFile, ASeparator, false);
... and now I want to replace something in each line:
for (int i = 0; i < Lines.GetCount(); i++)
{
Lines.At(i) = StringReplace(Lines.At(i), "Something", "SomethingElse");
}
Lines.At(i) seems to do not contain what i expect. Some suggestions?
Thanks in advance,
WebChaot.
[Updated on: Wed, 31 January 2007 09:42] by Moderator Report message to a moderator
|
|
|
Goto Forum:
Current Time: Mon Apr 28 01:11:33 CEST 2025
Total time taken to generate the page: 0.00955 seconds
|