Minor updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -25,20 +25,21 @@ Classes: wxString, wxArrayString, wxStringTokenizer
|
|||||||
|
|
||||||
@section overview_string_intro Introduction
|
@section overview_string_intro Introduction
|
||||||
|
|
||||||
wxString is a class which represents a character string of arbitrary length
|
wxString is a class which represents a character string of arbitrary length and
|
||||||
(limited by @c MAX_INT which is usually 2147483647 on 32 bit machines) and
|
|
||||||
containing arbitrary characters. The ASCII NUL character is allowed, but be
|
containing arbitrary characters. The ASCII NUL character is allowed, but be
|
||||||
aware that in the current string implementation some methods might not work
|
aware that in the current string implementation some methods might not work
|
||||||
correctly in this case.
|
correctly in this case.
|
||||||
|
|
||||||
wxString works with both ASCII (traditional, 7 or 8 bit, characters) as well as
|
Since wxWidgets 3.0 wxString internally uses UCS-2 (basically 2-byte per
|
||||||
Unicode (wide characters) strings.
|
character wchar_t) under Windows and UTF-8 under Unix, Linux and
|
||||||
|
OS X to store its content. Much work has been done to make
|
||||||
|
existing code using ANSI string literals work as before.
|
||||||
|
|
||||||
This class has all the standard operations you can expect to find in a string
|
This class has all the standard operations you can expect to find in a string
|
||||||
class: dynamic memory management (string extends to accommodate new
|
class: dynamic memory management (string extends to accommodate new
|
||||||
characters), construction from other strings, C strings and characters,
|
characters), construction from other strings, C strings, wide character C strings
|
||||||
assignment operators, access to individual characters, string concatenation and
|
and characters, assignment operators, access to individual characters, string
|
||||||
comparison, substring extraction, case conversion, trimming and padding (with
|
concatenation and comparison, substring extraction, case conversion, trimming and padding (with
|
||||||
spaces), searching and replacing and both C-like @c printf (wxString::Printf)
|
spaces), searching and replacing and both C-like @c printf (wxString::Printf)
|
||||||
and stream-like insertion functions as well as much more - see wxString for a
|
and stream-like insertion functions as well as much more - see wxString for a
|
||||||
list of all functions.
|
list of all functions.
|
||||||
|
Reference in New Issue
Block a user