I tried strcpy() to copy AnsiStrings, but is only for (char *) type. Anybody knows how to do this, i'm using Borland C++ 6.0.

Recommended Answers

All 2 Replies

stringTo = stringFrom

stringTo = stringFrom <= this only atribute the same adress. I want a ansistring version of strcpy().

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.