Hi ...
Currently I'm using CString::Replace and it's working fine.
Problem is that I'm doing it 10 times on the same string (very long one).
So what I'm looking for is a way to find\replace from a given position.
Any ideas ?
Thanks a lot
Printable View
Hi ...
Currently I'm using CString::Replace and it's working fine.
Problem is that I'm doing it 10 times on the same string (very long one).
So what I'm looking for is a way to find\replace from a given position.
Any ideas ?
Thanks a lot
Something like (pseudo-code!):Code:CString strOriginal;
...
int iPosition = ...;
...
CString strAfterPosition = strOriginal.Mid(iPosition);
strAfterPosition.Replace(...);
strOriginal = strOriginal.Left(iPosition) + strAfterPosition;
Interesting .. I'll test this code soon.
Thanks