valek_g00d_man Posted May 20, 2008 Report Share Posted May 20, 2008 Есть две строки типа AnsiString. Как найти в строке 1 подстроку 2. Причем подстрока находится в StringGrid'е. Как AnsiString преобразовать в char и обратно? Link to comment Share on other sites More sharing options...
mmap Posted May 20, 2008 Report Share Posted May 20, 2008 AnsiString str = "test tset";char *str_pchar = str.c_str();str = (AnsiString) str_pchar;AnsiString str2 = "tset";int pos = StrPos(str, str2); Link to comment Share on other sites More sharing options...
icestranger Posted June 8, 2008 Report Share Posted June 8, 2008 А можно массив char[50] переделать в переменную AnsiString и обратно? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now