Tshepo2018
Programmer
I m still using Delphi 6, is there anyone out there who can help me out here, I need a procedure where I can copy the first character in a string and the first character in the substring of the very string. I using this to create initials if more than one name is entered in a TEdit.text. I have used the following coding for instance:
now the problem is trying to detect where another name start so I can then carry on copying
the following character, if ever there is another name ofcourse...thanking you in advance
Code:
Var
Name,Initial : String;
begin
Name:=Edit.text;
Initial:=Copy(Name,1,1);
now the problem is trying to detect where another name start so I can then carry on copying
the following character, if ever there is another name ofcourse...thanking you in advance