List Info

Thread: Obtaining a character from a string




Obtaining a character from a string
user name
2006-04-03 23:09:54
I have next situation:

Once i have extracted one character from a string, how can i convert
this character to char type (ordinal type) ?

Example:
var
  vletter : string;
  vword : string;
begin
 ; vletter := copy(vword,1,1); ; { Return one character }
  ...
 ; ...


I need to do this in my routine.

Could you give me some tips ?

I'll appreciate your help

Thanks.




[1]

about | contact  Other archives ( Real Estate discussion Medical topics )