View Single Post
  #2  
Old 01-03-2001, 12:29 AM
PoseFant PoseFant is offline
Senior Member
 
Join Date: Jan 2001
Posts: 1,002
Default RE: How to grep characters in delphi 3

Var
Grep : String[2];
Begin
Grep := Copy('2000-46',6,2);
End;

The first parameter is a string or a dynamic array, the second is the index of where to start, the third is the count of how many characters to copy including the index character.

Regards

/Filip
Reply With Quote