Deutsch English
Alphabetical index
Array functions
CGI functions
Data types
Date functions
Debugging
Fulltext functions
Language elements
Numerical functions
Operators
Other functions
Ramtext functions
Selecting
Socket functions
Statistical functions
Stream functions
String functions
  • ansitooem()
  • asc()
  • chr()
  • decodeb64()
  • digitstr()
  • encodeb64()
  • exchange()
  • extnote()
  • fillstr()
  • groß()
  • isnumber()
  • klein()
  • länge()
  • leftstr()
  • length()
  • links()
  • lower()
  • ltrim()
  • makepw()
  • ntimes()
  • oemtoansi()
  • pos()
  • rechts()
  • rightstr()
  • rtrim()
  • scan()
  • soundex()
  • stradd()
  • strcomp()
  • subpath()
  • swap()
  • testln()
  • testpw()
  • tohtml()
  • upper()
  • valstr()
    System functions
    Table functions
    Text functions
    Home    Overview    Search    Impressum    Contact    Members
    Topic complex String functions
    Function ansitooem()
    Short Converts a string from ANSI to ASCII
    Syntax AnsiToOem(Zeichenkette: String): String
    Parameter str : any string
    Return From ANSI to ASCII converted string
    See also:
    oemtoansi()
    Description Converts a string from ANSI- (Windows-) character set into OEM- (DOS-) character set and affords that as result. The function is needed, if you read text from a Windows-file and process it with the tdbengine. Example Here a string is read from a Windows text file and written into the name field of the costumer file:

    Example 1: AnsiToOEM

    Read a text file and convert it to OEM charset

    VAR h : INTEGER;
      h := Reset("TDATEI.TXT");
      Name := AnsiToOem(ReadLn(h));
      Close(h);


    User comments:
    Write a comment:
    Name
    EMail
    Subject
    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
    irc.tdbengine.org
    #tdbengine

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