Hi folks, I'm trying to understand a little bit better the string and in this case substring set within C and C++.
What I need is to retrieve the Text typed into a TEdit Box, for example an email, and get the substring from the beggining to the "@" and display it on another TEdit Box, and everything after the "@" in a third TEdit Box when I click on a Button. So it would separate the "user", the "Domain" and the "@".
I tried but since the value retrieved from the TEdit Box is Unicode the string and substring that I tried didn't work.
By the way I'm using XE6 C++ Builder.
Any help owuld be much appreciated. Cheers!