The information in this article applies to:
SYMPTOMSThe string::replace member function does not work as expected. This is because the same string object is used for modification and input. Many data manipulation routines do not check for overlapping or identical arguments, causing unexpected results. RESOLUTIONCreate a temporary copy of the string as shown below:
STATUSThis behavior is by design. MORE INFORMATIONSteps to Reproduce BehaviorThe sample code below demonstrates the behavior reported in the SYMPTOMS section.
Additional query words:
Keywords : kbVC420 kbVC500 kbVC600 STLIss |
Last Reviewed: August 17, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |