qp.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Insert Procedure
  Summary Details Example                                   Back
 
  Arguments
 
    source         String expression representing the substring to
                   be inserted
 
    destination    String variable to be modified
 
    index          Integer expression in the range 1..255 for beginning
                   position in destination
 
  Description
 
    The Insert procedure inserts the source string into the destination
    string at the position represented by the index argument.
 
    Insert truncates the resulting string if it exceeds the declared
    length of the destination variable.
 
    To insert at the beginning of a string, specify index 1, as in
 
       Insert( source, destination, 1 );