Deutsch English
Alphabetical index
Array functions
CGI functions
Data types
Date functions
Fulltext functions
Language elements
Numerical functions
Other functions
Ramtext functions
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:
    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));

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