Delete |
Top Previous Next |
Prototype
Delete(strDest,intPos,intChars)
Description
Deletes characters from a string, from the shown position.
Parameters
StrDest: destination string.
IntPos : original position
IntChars: characters number to be deleted.
Returned value
None.
Notes
The first letter in position 1.
Example
// Transform the data field by deleting the symbol '/' (01/12/98->011298) While Pos('/',FieldDate)>0 do Delete(FieldDate,Pos('/',FieldDate),1);
// Transform the data field by deleting the symbol '\'(13\01\99->130199) While Pos('\',FieldDate)>0 do Delete(FieldDate,Pos('\',FieldDate),1);
// Transform the data field by deleting the symbol '-'(25-10-99->251099) While Pos('-',FieldDate)>0 do Delete(FieldDate,Pos('-',FieldDate),1); |