:
1. (Release).
2. IIS Web , .
3.
1. .
4. .
5. CGI-, ISAPI-, ( ) .dll.
AnsiString
C++Builder AnsiString , vcl/dstring.h Delphi. . AnsiString .
AnsiString ==,!=, >, <, >=, <=. . , , , , . , , , .
AnsiString =, += () +. [ ]. 1. , S1 = "", Sl[l] '', Sl[2] '' ..
AnsiString ( S1 , ):
AnsiCompare
int __fastcall AnsiCompare(const AnsiString& rhs) const
S1 rhs . Windows , . > 0 S1 > rhs, < 0 SI < rhs 0 Sl = rhs
AnsiCompareIC
int __fastcall AnsiCompareIC(const AnsiString& rhs) const
, AnsiCompare,
AnsiLastChar
char* __fastcall AnsiLastChar() const
.
AnsiPos
int __fastcall AnsiPos(const AnsiString& subStr) const
subStr S1. 1. subStr S1, 0.
AnsiString
__fastcall AnsiString(aprye)
. :
const char* src
const AnsiString& src AnsiString src
const char* src, unsigned char len , len src
|
|
const wchar_t* src src wchar_t
int src src
double src src ; 15
C_str
char* __fastcall c_str()const
, , AnsiString
CurrToStr
static AnsiString __ fastcall CurrToStr(Currency value)
value Currency
CurrToStrF
static AnsiString __ fastcall CurrToStrF(Currency value, TstringFloatFormat format, int digits)
value Currency , (. . TstringFloatFormat ). . CurrToStrF 19
Delete
void __ fastcall Delete(int index, int count)
, index , count
FloatToStrF
static AnsiString __ fastcall FloatToStrF(long double value, TStringFloatFormat format, int precision, int digits)
value , . precision digits . 7 float, 15 double 18 Extended.
Format
static AnsiString __ fastcall Format(const AnsiString& format, const TVarRec *args, int size)
, format args
FormatFloat
static AnsiString __fastcall FormatFloat (const AnsiString& format, const long double& value)
value , format.
Insert
void __fastcall Insert(const AnsiString& s tr, int index)
str, index
IntToHex
static AnsiString __fastcall IntToHex(int value, int digits)
value , digits
IsDelimiter
bool __fastcall IsDelimiter(const AnsiString& delimiters, int index) const
true, index , delimiters.
IsEmpty
bool __fastcall IsEmpty() const
true,
LastDelimiter
int __fastcall LastDelimiter(const AnsiString& delimiters) const
, delimiters. ,
AnsiString s = ": \\filename.ext"; s.LastDelimiter ("\\.:"); 12 ( )
Length
int __fastcall Length() const
LowerCase
AnsiString __fastcall LowerCaseQ const
, .
Pos
int __fastcall Pos(const AnsiString& subStr) const
subStr S1. 1. subStr S1, 0. AnsiPos
|
|
SetLength
void __fastcall SetLength(int newLength)
newLength . ,
StringOfChar
static AnsiString __fastcall StringOfChar(char ch, int count)
, ch count . ,
AnsiString s = AnsiString:: StringOfChar ('', 10); s
Substring
AnsiString __fastcall SubString(int index, int count) const
, index count
ToDouble
double __fastcall ToDouble() const
. , EConvertError
ToInt
int __fastcall ToInt() const
. , EConvertError
ToIntDef
int __fastcall ToIntDef(int defaultValue) const
. , defaultValue
Trim
AnsiString __fastcall Trim() const
, ,
TrimLeft
AnsiString __fastcall TrimLeft() const
, ,
TrimRight
AnsiString __fastcall TrimRight() const
, ,
Unique
void __fastcall Unique()
, .. (refcnt) 1. ,
UpperCase
AnsiString __fastcall UpperCase() const
, .
WideChar
wchar_t* __fastcall WideChar(wchar_t* dest, int destSize) const
dest wchar_t
WideCharBuf-Size
int __fastcall WideCharBufSize() const
, WideChar
1. , .
2. .
3. .
4. ( ).