[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
     NAME: Delete

     USE: Procedure to delete a portion of a string.  Delete accepts a
          string variable, starting position, and number of characters
          as arguments.  If the starting position is greater then the
          string length then no characters are deleted.

     DEPENDENCY: None

     SYNTAX: Delete(StringVariable, StartPosition, NumberCharacters);
             Delete(String, Integer, Integer);

     EXAMPLE:    Program TestDelete;
                 Var
                    StringVar : String;

                 Begin
                    StringVar := 'This is a complete string';
                    Writeln(StringVar);
                    Delete(StringVar,6,5);
                    Writeln(StringVar);
                 end.

See Also: Concat Copy Insert Length Pos
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson