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_find()
    Short Searches for a string in a ramtext
    Syntax ramtext_find(ramtext : STRING; target : STRING [,startpos[,mode] : INTEGER]) : INTEGER
    Parameter ramtext : name of ramtext in the form "ramtext:..."
    target : search string (without wild cards!)
    startpos: position, where the search starts from (default=1)
    mode : 0 (default) case-sensitive
    1 case-insensitive
    Return 0 : target not found
    else: position of the first character of the consonance
    See also:
    ramtext_insert() ramtext_delete() ramtext_part()
    Description With this function you can search a string in a ramtext. The optional parameter startpos specifies the offset in the ramtext, where the search starts from. The return value is the postition of the first character of the consonance (Looking from the beginning of the ramtext) or 0, if the string is not found.
    The function is about the function pos at normal strings. 0 is also the result if the start value is behind the filesize of the actual ramtext.

    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"}