AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Sprachen und Entwicklungsumgebungen Object-Pascal / Delphi-Language Delphi Delphi 2009: String, UnicodeString oder WideString?
Thema durchsuchen
Ansicht
Themen-Optionen

Delphi 2009: String, UnicodeString oder WideString?

Ein Thema von romber · begonnen am 26. Feb 2010 · letzter Beitrag vom 3. Nov 2014
 
daywalker9

Registriert seit: 1. Jan 2010
Ort: Leer
594 Beiträge
 
Delphi XE3 Professional
 
#2

Re: Delphi 2009: String, UnicodeString oder WideString?

  Alt 26. Feb 2010, 18:24
[edit] About String Types
A string represents a sequence of characters. Delphi supports the following predefined string types.

String types

Type Maximum length Memory required Used for
ShortString
255 characters
2 to 256 bytes
Backward compatibility

AnsiString
~2^31 characters
4 bytes to 2GB
8-bit (ANSI) characters, DBCS ANSI, MBCS ANSI, Unicode characters, etc.

UnicodeString
~2^30 characters
4 bytes to 2GB
Unicode characters, 8-bit (ANSI) characters, multi-user servers and multi-language applications

WideString
~2^30 characters
4 bytes to 2GB
Unicode characters; multi-user servers and multi-language applications. UnicodeString is generally preferred to WideString, except for COM applications.
Lars
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 21:05 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz