Deutsch English
Alphabetical index
Array functions
CGI functions
Data types
Date functions
Fulltext functions
Language elements
Numerical functions
Other functions
Ramtext functions
  • loadtemplate()
  • ramtext()
  • ramtext_copy()
  • ramtext_delete()
  • ramtext_find()
  • ramtext_insert()
  • ramtext_name()
  • ramtext_part()
  • ramtext_paste()
  • ramtext_subst()
  • subst()
    Socket functions
    Statistical functions
    Stream functions
    String functions
    System functions
    Table functions
    Text functions
    Home    Overview    Search    Impressum    Contact    Members
    Topic complex Ramtext functions
    Function ramtext_delete()
    Short Deletes an area in a ramtext
    Syntax ramtext_delete(ramtext : STRING; startpos,count : INTEGER) : INTEGER
    Parameter ramtext : name of the ramtext in the form "ramtext:..."
    startpos : position of the first char that is to delete
    count : number of chars that are to delete
    Return Number of the really deleted charakters
    See also:
    ramtext_copy() ramtext_find() ramtext_insert() ramtext_part() ramtext_paste()
    Description This functions deletes count chars from startpos in the ramtext.
    Again the return value is the number of the moved chars or 0 if the combination of startpos and count was not valid.
    startpos can get values between 1 and getsize(ramtext).
    count has to be between 0 and getsize(ramtext)-startpos.

    The deleted text is transmitted to the system ramtext "ramtext:~clip"

    User comments:
    Write a comment:
    Text (Switch mode)

    Choose between
    the normal and the
    advanced editor.
    The advanced editor
    runs in IE 5+ and
    Mozilla 1.4+ only
    SPAM-Protection Please enter tdbengine in this field.

    tdbengine chat

       Copyright © 2003-2004 tdb Software Service GmbH
       Alle rechte vorbehalten. / All rights reserved
       Last changed: 21.10.2004
    {Fehler für :execmacro{execmacro="sessionspy"}