Hi all,
I really want to replace a sub-string by another in a descriptor.
Could you please give me some ideas?
Thanks
Hi all,
I really want to replace a sub-string by another in a descriptor.
Could you please give me some ideas?
Thanks
And have you tried using the Replace function provided by the descriptor ?
I can use Replace function, but it is provided to replace only one sub-string at once.
So I am trying to find a Replace function which is similar to the one in C#.
If C# is similar to Java, it replaces all occurrences of a substring with an other one.
There is no such mechanism in Symbian C++, you have to use Find+Replace in a loop (if the replacement string contains the original one, you will also need Mid).
Thanks wizard_hu!
I've tried to find a function to do that. If there isn't, I think I will have to use Find+Replace functions in a loop as you have suggested.
Thanks again!
Sorry kamalakshan, I will write clearly from now on.