S
Sonnich Jensen
Hi all
I use MicroSoft Visual studio 2008 and while working with strings, I
like to change "abcde" into "abXde", in other words always change pos
2 to X.
It should be s[2]='X'; but that does not work (no set)
I tried s=s.Insert(2, "X); but that inserts it there, then I can
remove it. Replace will look for a string and replace that part. But
how do I do that for a single static char?
Seems to me like Microsoft C++ is slight different from what I learned
15 years ago...
Sonnich
I use MicroSoft Visual studio 2008 and while working with strings, I
like to change "abcde" into "abXde", in other words always change pos
2 to X.
It should be s[2]='X'; but that does not work (no set)
I tried s=s.Insert(2, "X); but that inserts it there, then I can
remove it. Replace will look for a string and replace that part. But
how do I do that for a single static char?
Seems to me like Microsoft C++ is slight different from what I learned
15 years ago...
Sonnich