AnsiString
Overview
Location
-
Reference:
- Delphi.dll .NET
- delphi.jar Cooper
- Delphi.fx Island
- libDelphi.fx Toffee
- Namespace: RemObjects.Elements.RTL.Delphi
-
Ancestry:
- ValueType | AnsiString .NET
- ValueType | AnsiString Island
- ValueType | AnsiString .NET
constructor .NET, Cooper, Island
constructor
AnsiString()
init()
AnsiString()
Sub New()
constructor .() Toffee
init(. )
Parameters:
- :
constructor (Int32)
constructor(aLength: Int32)
AnsiString(Int32 aLength)
init(_ aLength: Int32)
AnsiString(Integer aLength)
Sub New(aLength As Int32)
Parameters:
- aLength:
AnsiString(AnsiChar C, Integer aCount)
Parameters:
- C:
- aCount:
constructor (array of AnsiChar)
constructor(Value: array of AnsiChar)
AnsiString(AnsiChar[] Value)
init(_ Value: AnsiChar...)
AnsiString(AnsiChar[] Value)
Sub New(Value As AnsiChar())
Parameters:
- Value:
Parameters:
- Value:
- PreserveChars:
Parameters:
- Value:
- StartIndex:
- aLength:
- PreserveChars:
constructor (array of Byte)
constructor(Value: array of Byte)
AnsiString(Byte[] Value)
init(_ Value: Byte...)
AnsiString(Byte[] Value)
Sub New(Value As Byte())
Parameters:
- Value:
Parameters:
- Value:
- StartIndex:
- aLength:
constructor (AnsiString) Cooper
constructor(value: AnsiString)
AnsiString(AnsiString value)
init(_ value: AnsiString)
AnsiString(AnsiString value)
Sub New(value As AnsiString)
Parameters:
- value:
constructor (PlatformString, Boolean)
constructor(Value: PlatformString; AsUTF16Bytes: Boolean)
AnsiString(PlatformString Value, Boolean AsUTF16Bytes)
init(_ Value: PlatformString, _ AsUTF16Bytes: Boolean)
AnsiString(PlatformString Value, Boolean AsUTF16Bytes)
Sub New(Value As PlatformString, AsUTF16Bytes As Boolean)
Parameters:
- Value:
- AsUTF16Bytes:
constructor (String, Boolean)
constructor(Value: String; AsUTF16Bytes: Boolean)
AnsiString(String Value, Boolean AsUTF16Bytes)
init(_ Value: String, _ AsUTF16Bytes: Boolean)
AnsiString(String Value, Boolean AsUTF16Bytes)
Sub New(Value As String, AsUTF16Bytes As Boolean)
Parameters:
- Value:
- AsUTF16Bytes:
constructor <clinit> External Cooper
class method constructor <clinit>(+)
static void constructor <clinit>(+ )
static func constructor <clinit>(_ +)
static void constructor <clinit>(+ )
Shared Sub constructor <clinit>( As +)
Parameters:
- :
Character virtual
AnsiChar Character[Integer aIndex] { __get; __set; }
Chars virtual
AnsiChar Chars[Integer aIndex] { __get; __set; }
clone Cooper
method clone: Object
Object clone()
func clone() -> Object
Object clone()
Function clone() As Object
CompareStr (AnsiString, AnsiString): Int32 virtual
class method CompareStr(S1: AnsiString; S2: AnsiString): Int32
static Int32 CompareStr(AnsiString S1, AnsiString S2)
static func CompareStr(_ S1: AnsiString, _ S2: AnsiString) -> Int32
static Integer CompareStr(AnsiString S1, AnsiString S2)
Shared Function CompareStr(S1 As AnsiString, S2 As AnsiString) As Int32
Parameters:
- S1:
- S2:
CompareStr (AnsiString, DelphiString): Int32 virtual
class method CompareStr(S1: AnsiString; S2: DelphiString): Int32
static Int32 CompareStr(AnsiString S1, DelphiString S2)
static func CompareStr(_ S1: AnsiString, _ S2: DelphiString) -> Int32
static Integer CompareStr(AnsiString S1, DelphiString S2)
Shared Function CompareStr(S1 As AnsiString, S2 As DelphiString) As Int32
Parameters:
- S1:
- S2:
CompareStr (DelphiString, AnsiString): Int32 virtual
class method CompareStr(S1: DelphiString; S2: AnsiString): Int32
static Int32 CompareStr(DelphiString S1, AnsiString S2)
static func CompareStr(_ S1: DelphiString, _ S2: AnsiString) -> Int32
static Integer CompareStr(DelphiString S1, AnsiString S2)
Shared Function CompareStr(S1 As DelphiString, S2 As AnsiString) As Int32
Parameters:
- S1:
- S2:
CompareText (AnsiString, AnsiString): Int32 virtual
class method CompareText(S1: AnsiString; S2: AnsiString): Int32
static Int32 CompareText(AnsiString S1, AnsiString S2)
static func CompareText(_ S1: AnsiString, _ S2: AnsiString) -> Int32
static Integer CompareText(AnsiString S1, AnsiString S2)
Shared Function CompareText(S1 As AnsiString, S2 As AnsiString) As Int32
Parameters:
- S1:
- S2:
CompareText (AnsiString, DelphiString): Int32 virtual
class method CompareText(S1: AnsiString; S2: DelphiString): Int32
static Int32 CompareText(AnsiString S1, DelphiString S2)
static func CompareText(_ S1: AnsiString, _ S2: DelphiString) -> Int32
static Integer CompareText(AnsiString S1, DelphiString S2)
Shared Function CompareText(S1 As AnsiString, S2 As DelphiString) As Int32
Parameters:
- S1:
- S2:
CompareText (DelphiString, AnsiString): Int32 virtual
class method CompareText(S1: DelphiString; S2: AnsiString): Int32
static Int32 CompareText(DelphiString S1, AnsiString S2)
static func CompareText(_ S1: DelphiString, _ S2: AnsiString) -> Int32
static Integer CompareText(DelphiString S1, AnsiString S2)
Shared Function CompareText(S1 As DelphiString, S2 As AnsiString) As Int32
Parameters:
- S1:
- S2:
Contains
method Contains(aSubText: AnsiString): Boolean
Boolean Contains(AnsiString aSubText)
func Contains(_ aSubText: AnsiString) -> Boolean
Boolean Contains(AnsiString aSubText)
Function Contains(aSubText As AnsiString) As Boolean
Parameters:
- aSubText:
Copy virtual
class method Copy(aSource: AnsiString; aSourceIndex: Int32; aCount: Int32): AnsiString
static AnsiString Copy(AnsiString aSource, Int32 aSourceIndex, Int32 aCount)
static func Copy(_ aSource: AnsiString, _ aSourceIndex: Int32, _ aCount: Int32) -> AnsiString
static AnsiString Copy(AnsiString aSource, Integer aSourceIndex, Integer aCount)
Shared Function Copy(aSource As AnsiString, aSourceIndex As Int32, aCount As Int32) As AnsiString
Parameters:
- aSource:
- aSourceIndex:
- aCount:
CopyFrom virtual
method CopyFrom(aSource: AnsiString; aSourceIndex: Int32; aCount: Int32)
void CopyFrom(AnsiString aSource, Int32 aSourceIndex, Int32 aCount)
func CopyFrom(_ aSource: AnsiString, _ aSourceIndex: Int32, _ aCount: Int32)
void CopyFrom(AnsiString aSource, Integer aSourceIndex, Integer aCount)
Sub CopyFrom(aSource As AnsiString, aSourceIndex As Int32, aCount As Int32)
Parameters:
- aSource:
- aSourceIndex:
- aCount:
CopyTo virtual
method CopyTo(SourceIndex: Int32; var Destination: array of Byte; DestinationIndex: Int32; aCount: Int32)
func CopyTo(_ SourceIndex: Int32, _ Destination: Byte..., _ DestinationIndex: Int32, _ aCount: Int32)
Parameters:
- SourceIndex:
- Destination:
- DestinationIndex:
- aCount:
Create (AnsiChar, Int32): AnsiString virtual
class method Create(C: AnsiChar; aCount: Int32): AnsiString
static AnsiString Create(AnsiChar C, Int32 aCount)
static func Create(_ C: AnsiChar, _ aCount: Int32) -> AnsiString
static AnsiString Create(AnsiChar C, Integer aCount)
Shared Function Create(C As AnsiChar, aCount As Int32) As AnsiString
Parameters:
- C:
- aCount:
Create (array of Char, Boolean): AnsiString virtual
class method Create(Value: array of Char; PreserveChars: Boolean): AnsiString
static AnsiString Create(Char[] Value, Boolean PreserveChars)
static func Create(_ Value: Char..., _ PreserveChars: Boolean) -> AnsiString
static AnsiString Create(Char[] Value, Boolean PreserveChars)
Shared Function Create(Value As Char(), PreserveChars As Boolean) As AnsiString
Parameters:
- Value:
- PreserveChars:
Create (array of Char, Int32, Int32, Boolean): AnsiString virtual
class method Create(Value: array of Char; StartIndex: Int32; aLength: Int32; PreserveChars: Boolean): AnsiString
static AnsiString Create(Char[] Value, Int32 StartIndex, Int32 aLength, Boolean PreserveChars)
static func Create(_ Value: Char..., _ StartIndex: Int32, _ aLength: Int32, _ PreserveChars: Boolean) -> AnsiString
static AnsiString Create(Char[] Value, Integer StartIndex, Integer aLength, Boolean PreserveChars)
Shared Function Create(Value As Char(), StartIndex As Int32, aLength As Int32, PreserveChars As Boolean) As AnsiString
Parameters:
- Value:
- StartIndex:
- aLength:
- PreserveChars:
Data virtual
property Data: array of Byte read;
Byte[] Data { get; }
var Data: Byte... { get{} }
Byte[] Data { __get; }
ReadOnly Property Data() As Byte()
description override Toffee
func description(description ) -> NSString
Parameters:
- :
EndsWith virtual
method EndsWith(aSubText: AnsiString): Boolean
Boolean EndsWith(AnsiString aSubText)
func EndsWith(_ aSubText: AnsiString) -> Boolean
Boolean EndsWith(AnsiString aSubText)
Function EndsWith(aSubText As AnsiString) As Boolean
Parameters:
- aSubText:
equals Cooper
Parameters:
- Obj:
FillChar virtual
void FillChar(Integer aCount, AnsiChar aValue)
Parameters:
- aCount:
- aValue:
GetData .NET, Island
method GetData: array of Byte
Byte[] GetData()
func GetData() -> Byte...
Function GetData() As Byte()
GetData GetData(): array of Byte virtual Toffee
func GetData(GetData ) -> Byte...
Parameters:
- :
GetEnumerator .NET
method GetEnumerator: IEnumerator<AnsiChar>
IEnumerator<AnsiChar> GetEnumerator()
func GetEnumerator() -> IEnumerator<AnsiChar>
IEnumerator<AnsiChar> GetEnumerator()
Function GetEnumerator() As IEnumerator<AnsiChar>
GetHashCode override virtual .NET, Island
method GetHashCode: Int32
Int32 GetHashCode()
func GetHashCode() -> Int32
Function GetHashCode() As Int32
hash Toffee
func hash(hash ) -> NSUInteger
Parameters:
- :
hashCode Cooper
method hashCode: Integer
Integer hashCode()
func hashCode() -> Integer
Integer hashCode()
Function hashCode() As Integer
IndexOf (AnsiString): Int32
method IndexOf(aSubStr: AnsiString): Int32
Int32 IndexOf(AnsiString aSubStr)
func IndexOf(_ aSubStr: AnsiString) -> Int32
Integer IndexOf(AnsiString aSubStr)
Function IndexOf(aSubStr As AnsiString) As Int32
Parameters:
- aSubStr:
IndexOf (AnsiString, Int32): Int32 virtual
method IndexOf(aSubStr: AnsiString; aIndex: Int32): Int32
Int32 IndexOf(AnsiString aSubStr, Int32 aIndex)
func IndexOf(_ aSubStr: AnsiString, _ aIndex: Int32) -> Int32
Integer IndexOf(AnsiString aSubStr, Integer aIndex)
Function IndexOf(aSubStr As AnsiString, aIndex As Int32) As Int32
Parameters:
- aSubStr:
- aIndex:
Insert (Int32, AnsiString): AnsiString virtual
method Insert(aIndex: Int32; aValue: AnsiString): AnsiString
AnsiString Insert(Int32 aIndex, AnsiString aValue)
func Insert(_ aIndex: Int32, _ aValue: AnsiString) -> AnsiString
AnsiString Insert(Integer aIndex, AnsiString aValue)
Function Insert(aIndex As Int32, aValue As AnsiString) As AnsiString
Parameters:
- aIndex:
- aValue:
Insert (Int32, AnsiChar): AnsiString virtual
method Insert(aIndex: Int32; Value: AnsiChar): AnsiString
AnsiString Insert(Int32 aIndex, AnsiChar Value)
func Insert(_ aIndex: Int32, _ Value: AnsiChar) -> AnsiString
AnsiString Insert(Integer aIndex, AnsiChar Value)
Function Insert(aIndex As Int32, Value As AnsiChar) As AnsiString
Parameters:
- aIndex:
- Value:
Insert (Int32, Char): AnsiString virtual
method Insert(aIndex: Int32; Value: Char): AnsiString
AnsiString Insert(Int32 aIndex, Char Value)
func Insert(_ aIndex: Int32, _ Value: Char) -> AnsiString
AnsiString Insert(Integer aIndex, Char Value)
Function Insert(aIndex As Int32, Value As Char) As AnsiString
Parameters:
- aIndex:
- Value:
isEqual Toffee
Parameters:
- Obj:
Length virtual
property Length: Int32 read write;
Int32 Length { get; set; }
var Length: Int32 { get{} set{} }
Integer Length { __get; __set; }
Property Length() As Int32
Offset virtual
class property Offset: Int32 read write;
class Int32 Offset { get; set; }
static var Offset: Int32 { get{} set{} }
class Integer Offset { __get; __set; }
Shared Property Offset() As Int32
Remove (Int32): AnsiString virtual
method Remove(StartIndex: Int32): AnsiString
AnsiString Remove(Int32 StartIndex)
func Remove(_ StartIndex: Int32) -> AnsiString
AnsiString Remove(Integer StartIndex)
Function Remove(StartIndex As Int32) As AnsiString
Parameters:
- StartIndex:
Remove (Int32, Int32): AnsiString virtual
method Remove(StartIndex: Int32; aCount: Int32): AnsiString
AnsiString Remove(Int32 StartIndex, Int32 aCount)
func Remove(_ StartIndex: Int32, _ aCount: Int32) -> AnsiString
AnsiString Remove(Integer StartIndex, Integer aCount)
Function Remove(StartIndex As Int32, aCount As Int32) As AnsiString
Parameters:
- StartIndex:
- aCount:
Replace (AnsiString, AnsiString): AnsiString
method Replace(aFromText: AnsiString; aToText: AnsiString): AnsiString
AnsiString Replace(AnsiString aFromText, AnsiString aToText)
func Replace(_ aFromText: AnsiString, _ aToText: AnsiString) -> AnsiString
AnsiString Replace(AnsiString aFromText, AnsiString aToText)
Function Replace(aFromText As AnsiString, aToText As AnsiString) As AnsiString
Parameters:
- aFromText:
- aToText:
Replace (AnsiString, AnsiString, TReplaceFlags): AnsiString virtual
method Replace(OldPattern: AnsiString; NewPattern: AnsiString; aFlags: TReplaceFlags): AnsiString
AnsiString Replace(AnsiString OldPattern, AnsiString NewPattern, TReplaceFlags aFlags)
func Replace(_ OldPattern: AnsiString, _ NewPattern: AnsiString, _ aFlags: TReplaceFlags) -> AnsiString
AnsiString Replace(AnsiString OldPattern, AnsiString NewPattern, TReplaceFlags aFlags)
Function Replace(OldPattern As AnsiString, NewPattern As AnsiString, aFlags As TReplaceFlags) As AnsiString
Parameters:
- OldPattern:
- NewPattern:
- aFlags:
SameStr virtual
class method SameStr(S1: AnsiString; S2: AnsiString): Boolean
static Boolean SameStr(AnsiString S1, AnsiString S2)
static func SameStr(_ S1: AnsiString, _ S2: AnsiString) -> Boolean
static Boolean SameStr(AnsiString S1, AnsiString S2)
Shared Function SameStr(S1 As AnsiString, S2 As AnsiString) As Boolean
Parameters:
- S1:
- S2:
SameText virtual
class method SameText(S1: AnsiString; S2: AnsiString): Boolean
static Boolean SameText(AnsiString S1, AnsiString S2)
static func SameText(_ S1: AnsiString, _ S2: AnsiString) -> Boolean
static Boolean SameText(AnsiString S1, AnsiString S2)
Shared Function SameText(S1 As AnsiString, S2 As AnsiString) As Boolean
Parameters:
- S1:
- S2:
SetLength .NET, Island
method SetLength(aLength: Int32)
void SetLength(Int32 aLength)
func SetLength(_ aLength: Int32)
Sub SetLength(aLength As Int32)
Parameters:
- aLength:
StartsWith virtual
method StartsWith(aSubText: AnsiString): Boolean
Boolean StartsWith(AnsiString aSubText)
func StartsWith(_ aSubText: AnsiString) -> Boolean
Boolean StartsWith(AnsiString aSubText)
Function StartsWith(aSubText As AnsiString) As Boolean
Parameters:
- aSubText:
SubString (Int32): AnsiString virtual
method SubString(StartIndex: Int32): AnsiString
AnsiString SubString(Int32 StartIndex)
func SubString(_ StartIndex: Int32) -> AnsiString
AnsiString SubString(Integer StartIndex)
Function SubString(StartIndex As Int32) As AnsiString
Parameters:
- StartIndex:
SubString (Int32, Int32): AnsiString virtual
method SubString(StartIndex: Int32; aLength: Int32): AnsiString
AnsiString SubString(Int32 StartIndex, Int32 aLength)
func SubString(_ StartIndex: Int32, _ aLength: Int32) -> AnsiString
AnsiString SubString(Integer StartIndex, Integer aLength)
Function SubString(StartIndex As Int32, aLength As Int32) As AnsiString
Parameters:
- StartIndex:
- aLength:
ToLower .NET, Cooper, Island
method ToLower: AnsiString
AnsiString ToLower()
func ToLower() -> AnsiString
AnsiString ToLower()
Function ToLower() As AnsiString
ToLower ToLower(): AnsiString virtual Toffee
func ToLower(ToLower ) -> AnsiString
Parameters:
- :
ToNullTerminated .NET, Cooper, Island
method ToNullTerminated: AnsiString
AnsiString ToNullTerminated()
func ToNullTerminated() -> AnsiString
AnsiString ToNullTerminated()
Function ToNullTerminated() As AnsiString
ToNullTerminated ToNullTerminated(): AnsiString virtual Toffee
func ToNullTerminated(ToNullTerminated ) -> AnsiString
Parameters:
- :
toString Cooper
method toString: PlatformString
PlatformString toString()
func toString() -> PlatformString
PlatformString toString()
Function toString() As PlatformString
ToString virtual Toffee
func ToString(ToString ) -> PlatformString
Parameters:
- :
ToUpper .NET, Cooper, Island
method ToUpper: AnsiString
AnsiString ToUpper()
func ToUpper() -> AnsiString
AnsiString ToUpper()
Function ToUpper() As AnsiString
ToUpper ToUpper(): AnsiString virtual Toffee
func ToUpper(ToUpper ) -> AnsiString
Parameters:
- :
Trim .NET, Cooper, Island
method Trim: AnsiString
AnsiString Trim()
func Trim() -> AnsiString
AnsiString Trim()
Function Trim() As AnsiString
Trim Trim(): AnsiString virtual Toffee
func Trim(Trim ) -> AnsiString
Parameters:
- :
TrimLeft .NET, Cooper, Island
method TrimLeft: AnsiString
AnsiString TrimLeft()
func TrimLeft() -> AnsiString
AnsiString TrimLeft()
Function TrimLeft() As AnsiString
TrimLeft TrimLeft(): AnsiString virtual Toffee
func TrimLeft(TrimLeft ) -> AnsiString
Parameters:
- :
TrimRight .NET, Cooper, Island
method TrimRight: AnsiString
AnsiString TrimRight()
func TrimRight() -> AnsiString
AnsiString TrimRight()
Function TrimRight() As AnsiString
TrimRight TrimRight(): AnsiString virtual Toffee
func TrimRight(TrimRight ) -> AnsiString
Parameters:
- :
Character virtual
AnsiChar Character[Integer aIndex] { __get; __set; }
Chars virtual
AnsiChar Chars[Integer aIndex] { __get; __set; }
Data virtual
property Data: array of Byte read;
Byte[] Data { get; }
var Data: Byte... { get{} }
Byte[] Data { __get; }
ReadOnly Property Data() As Byte()
Length virtual
property Length: Int32 read write;
Int32 Length { get; set; }
var Length: Int32 { get{} set{} }
Integer Length { __get; __set; }
Property Length() As Int32
Offset virtual
constructor <clinit> External Cooper
class method constructor <clinit>(+)
static void constructor <clinit>(+ )
static func constructor <clinit>(_ +)
static void constructor <clinit>(+ )
Shared Sub constructor <clinit>( As +)
Parameters:
- :
CompareStr (AnsiString, AnsiString): Int32 virtual
class method CompareStr(S1: AnsiString; S2: AnsiString): Int32
static Int32 CompareStr(AnsiString S1, AnsiString S2)
static func CompareStr(_ S1: AnsiString, _ S2: AnsiString) -> Int32
static Integer CompareStr(AnsiString S1, AnsiString S2)
Shared Function CompareStr(S1 As AnsiString, S2 As AnsiString) As Int32
Parameters:
- S1:
- S2:
CompareStr (AnsiString, DelphiString): Int32 virtual
class method CompareStr(S1: AnsiString; S2: DelphiString): Int32
static Int32 CompareStr(AnsiString S1, DelphiString S2)
static func CompareStr(_ S1: AnsiString, _ S2: DelphiString) -> Int32
static Integer CompareStr(AnsiString S1, DelphiString S2)
Shared Function CompareStr(S1 As AnsiString, S2 As DelphiString) As Int32
Parameters:
- S1:
- S2:
CompareStr (DelphiString, AnsiString): Int32 virtual
class method CompareStr(S1: DelphiString; S2: AnsiString): Int32
static Int32 CompareStr(DelphiString S1, AnsiString S2)
static func CompareStr(_ S1: DelphiString, _ S2: AnsiString) -> Int32
static Integer CompareStr(DelphiString S1, AnsiString S2)
Shared Function CompareStr(S1 As DelphiString, S2 As AnsiString) As Int32
Parameters:
- S1:
- S2:
CompareText (AnsiString, AnsiString): Int32 virtual
class method CompareText(S1: AnsiString; S2: AnsiString): Int32
static Int32 CompareText(AnsiString S1, AnsiString S2)
static func CompareText(_ S1: AnsiString, _ S2: AnsiString) -> Int32
static Integer CompareText(AnsiString S1, AnsiString S2)
Shared Function CompareText(S1 As AnsiString, S2 As AnsiString) As Int32
Parameters:
- S1:
- S2:
CompareText (AnsiString, DelphiString): Int32 virtual
class method CompareText(S1: AnsiString; S2: DelphiString): Int32
static Int32 CompareText(AnsiString S1, DelphiString S2)
static func CompareText(_ S1: AnsiString, _ S2: DelphiString) -> Int32
static Integer CompareText(AnsiString S1, DelphiString S2)
Shared Function CompareText(S1 As AnsiString, S2 As DelphiString) As Int32
Parameters:
- S1:
- S2:
CompareText (DelphiString, AnsiString): Int32 virtual
class method CompareText(S1: DelphiString; S2: AnsiString): Int32
static Int32 CompareText(DelphiString S1, AnsiString S2)
static func CompareText(_ S1: DelphiString, _ S2: AnsiString) -> Int32
static Integer CompareText(DelphiString S1, AnsiString S2)
Shared Function CompareText(S1 As DelphiString, S2 As AnsiString) As Int32
Parameters:
- S1:
- S2:
Copy virtual
class method Copy(aSource: AnsiString; aSourceIndex: Int32; aCount: Int32): AnsiString
static AnsiString Copy(AnsiString aSource, Int32 aSourceIndex, Int32 aCount)
static func Copy(_ aSource: AnsiString, _ aSourceIndex: Int32, _ aCount: Int32) -> AnsiString
static AnsiString Copy(AnsiString aSource, Integer aSourceIndex, Integer aCount)
Shared Function Copy(aSource As AnsiString, aSourceIndex As Int32, aCount As Int32) As AnsiString
Parameters:
- aSource:
- aSourceIndex:
- aCount:
Create (AnsiChar, Int32): AnsiString virtual
class method Create(C: AnsiChar; aCount: Int32): AnsiString
static AnsiString Create(AnsiChar C, Int32 aCount)
static func Create(_ C: AnsiChar, _ aCount: Int32) -> AnsiString
static AnsiString Create(AnsiChar C, Integer aCount)
Shared Function Create(C As AnsiChar, aCount As Int32) As AnsiString
Parameters:
- C:
- aCount:
Create (array of Char, Boolean): AnsiString virtual
class method Create(Value: array of Char; PreserveChars: Boolean): AnsiString
static AnsiString Create(Char[] Value, Boolean PreserveChars)
static func Create(_ Value: Char..., _ PreserveChars: Boolean) -> AnsiString
static AnsiString Create(Char[] Value, Boolean PreserveChars)
Shared Function Create(Value As Char(), PreserveChars As Boolean) As AnsiString
Parameters:
- Value:
- PreserveChars:
Create (array of Char, Int32, Int32, Boolean): AnsiString virtual
class method Create(Value: array of Char; StartIndex: Int32; aLength: Int32; PreserveChars: Boolean): AnsiString
static AnsiString Create(Char[] Value, Int32 StartIndex, Int32 aLength, Boolean PreserveChars)
static func Create(_ Value: Char..., _ StartIndex: Int32, _ aLength: Int32, _ PreserveChars: Boolean) -> AnsiString
static AnsiString Create(Char[] Value, Integer StartIndex, Integer aLength, Boolean PreserveChars)
Shared Function Create(Value As Char(), StartIndex As Int32, aLength As Int32, PreserveChars As Boolean) As AnsiString
Parameters:
- Value:
- StartIndex:
- aLength:
- PreserveChars:
SameStr virtual
class method SameStr(S1: AnsiString; S2: AnsiString): Boolean
static Boolean SameStr(AnsiString S1, AnsiString S2)
static func SameStr(_ S1: AnsiString, _ S2: AnsiString) -> Boolean
static Boolean SameStr(AnsiString S1, AnsiString S2)
Shared Function SameStr(S1 As AnsiString, S2 As AnsiString) As Boolean
Parameters:
- S1:
- S2:
SameText virtual
class method SameText(S1: AnsiString; S2: AnsiString): Boolean
static Boolean SameText(AnsiString S1, AnsiString S2)
static func SameText(_ S1: AnsiString, _ S2: AnsiString) -> Boolean
static Boolean SameText(AnsiString S1, AnsiString S2)
Shared Function SameText(S1 As AnsiString, S2 As AnsiString) As Boolean
Parameters:
- S1:
- S2:
constructor .NET, Cooper, Island
constructor
AnsiString()
init()
AnsiString()
Sub New()
constructor .() Toffee
init(. )
Parameters:
- :
constructor (Int32)
constructor(aLength: Int32)
AnsiString(Int32 aLength)
init(_ aLength: Int32)
AnsiString(Integer aLength)
Sub New(aLength As Int32)
Parameters:
- aLength:
AnsiString(AnsiChar C, Integer aCount)
Parameters:
- C:
- aCount:
constructor (array of AnsiChar)
constructor(Value: array of AnsiChar)
AnsiString(AnsiChar[] Value)
init(_ Value: AnsiChar...)
AnsiString(AnsiChar[] Value)
Sub New(Value As AnsiChar())
Parameters:
- Value:
Parameters:
- Value:
- PreserveChars:
Parameters:
- Value:
- StartIndex:
- aLength:
- PreserveChars:
constructor (array of Byte)
constructor(Value: array of Byte)
AnsiString(Byte[] Value)
init(_ Value: Byte...)
AnsiString(Byte[] Value)
Sub New(Value As Byte())
Parameters:
- Value:
Parameters:
- Value:
- StartIndex:
- aLength:
constructor (AnsiString) Cooper
constructor(value: AnsiString)
AnsiString(AnsiString value)
init(_ value: AnsiString)
AnsiString(AnsiString value)
Sub New(value As AnsiString)
Parameters:
- value:
constructor (PlatformString, Boolean)
constructor(Value: PlatformString; AsUTF16Bytes: Boolean)
AnsiString(PlatformString Value, Boolean AsUTF16Bytes)
init(_ Value: PlatformString, _ AsUTF16Bytes: Boolean)
AnsiString(PlatformString Value, Boolean AsUTF16Bytes)
Sub New(Value As PlatformString, AsUTF16Bytes As Boolean)
Parameters:
- Value:
- AsUTF16Bytes:
constructor (String, Boolean)
constructor(Value: String; AsUTF16Bytes: Boolean)
AnsiString(String Value, Boolean AsUTF16Bytes)
init(_ Value: String, _ AsUTF16Bytes: Boolean)
AnsiString(String Value, Boolean AsUTF16Bytes)
Sub New(Value As String, AsUTF16Bytes As Boolean)
Parameters:
- Value:
- AsUTF16Bytes:
clone Cooper
method clone: Object
Object clone()
func clone() -> Object
Object clone()
Function clone() As Object
Contains
method Contains(aSubText: AnsiString): Boolean
Boolean Contains(AnsiString aSubText)
func Contains(_ aSubText: AnsiString) -> Boolean
Boolean Contains(AnsiString aSubText)
Function Contains(aSubText As AnsiString) As Boolean
Parameters:
- aSubText:
CopyFrom virtual
method CopyFrom(aSource: AnsiString; aSourceIndex: Int32; aCount: Int32)
void CopyFrom(AnsiString aSource, Int32 aSourceIndex, Int32 aCount)
func CopyFrom(_ aSource: AnsiString, _ aSourceIndex: Int32, _ aCount: Int32)
void CopyFrom(AnsiString aSource, Integer aSourceIndex, Integer aCount)
Sub CopyFrom(aSource As AnsiString, aSourceIndex As Int32, aCount As Int32)
Parameters:
- aSource:
- aSourceIndex:
- aCount:
CopyTo virtual
method CopyTo(SourceIndex: Int32; var Destination: array of Byte; DestinationIndex: Int32; aCount: Int32)
func CopyTo(_ SourceIndex: Int32, _ Destination: Byte..., _ DestinationIndex: Int32, _ aCount: Int32)
Parameters:
- SourceIndex:
- Destination:
- DestinationIndex:
- aCount:
description override Toffee
func description(description ) -> NSString
Parameters:
- :
EndsWith virtual
method EndsWith(aSubText: AnsiString): Boolean
Boolean EndsWith(AnsiString aSubText)
func EndsWith(_ aSubText: AnsiString) -> Boolean
Boolean EndsWith(AnsiString aSubText)
Function EndsWith(aSubText As AnsiString) As Boolean
Parameters:
- aSubText:
equals Cooper
Parameters:
- Obj:
FillChar virtual
void FillChar(Integer aCount, AnsiChar aValue)
Parameters:
- aCount:
- aValue:
GetData .NET, Island
method GetData: array of Byte
Byte[] GetData()
func GetData() -> Byte...
Function GetData() As Byte()
GetData GetData(): array of Byte virtual Toffee
func GetData(GetData ) -> Byte...
Parameters:
- :
GetEnumerator .NET
method GetEnumerator: IEnumerator<AnsiChar>
IEnumerator<AnsiChar> GetEnumerator()
func GetEnumerator() -> IEnumerator<AnsiChar>
IEnumerator<AnsiChar> GetEnumerator()
Function GetEnumerator() As IEnumerator<AnsiChar>
GetHashCode override virtual .NET, Island
method GetHashCode: Int32
Int32 GetHashCode()
func GetHashCode() -> Int32
Function GetHashCode() As Int32
hash Toffee
func hash(hash ) -> NSUInteger
Parameters:
- :
hashCode Cooper
method hashCode: Integer
Integer hashCode()
func hashCode() -> Integer
Integer hashCode()
Function hashCode() As Integer
IndexOf (AnsiString): Int32
method IndexOf(aSubStr: AnsiString): Int32
Int32 IndexOf(AnsiString aSubStr)
func IndexOf(_ aSubStr: AnsiString) -> Int32
Integer IndexOf(AnsiString aSubStr)
Function IndexOf(aSubStr As AnsiString) As Int32
Parameters:
- aSubStr:
IndexOf (AnsiString, Int32): Int32 virtual
method IndexOf(aSubStr: AnsiString; aIndex: Int32): Int32
Int32 IndexOf(AnsiString aSubStr, Int32 aIndex)
func IndexOf(_ aSubStr: AnsiString, _ aIndex: Int32) -> Int32
Integer IndexOf(AnsiString aSubStr, Integer aIndex)
Function IndexOf(aSubStr As AnsiString, aIndex As Int32) As Int32
Parameters:
- aSubStr:
- aIndex:
Insert (Int32, AnsiString): AnsiString virtual
method Insert(aIndex: Int32; aValue: AnsiString): AnsiString
AnsiString Insert(Int32 aIndex, AnsiString aValue)
func Insert(_ aIndex: Int32, _ aValue: AnsiString) -> AnsiString
AnsiString Insert(Integer aIndex, AnsiString aValue)
Function Insert(aIndex As Int32, aValue As AnsiString) As AnsiString
Parameters:
- aIndex:
- aValue:
Insert (Int32, AnsiChar): AnsiString virtual
method Insert(aIndex: Int32; Value: AnsiChar): AnsiString
AnsiString Insert(Int32 aIndex, AnsiChar Value)
func Insert(_ aIndex: Int32, _ Value: AnsiChar) -> AnsiString
AnsiString Insert(Integer aIndex, AnsiChar Value)
Function Insert(aIndex As Int32, Value As AnsiChar) As AnsiString
Parameters:
- aIndex:
- Value:
Insert (Int32, Char): AnsiString virtual
method Insert(aIndex: Int32; Value: Char): AnsiString
AnsiString Insert(Int32 aIndex, Char Value)
func Insert(_ aIndex: Int32, _ Value: Char) -> AnsiString
AnsiString Insert(Integer aIndex, Char Value)
Function Insert(aIndex As Int32, Value As Char) As AnsiString
Parameters:
- aIndex:
- Value:
isEqual Toffee
Parameters:
- Obj:
Remove (Int32): AnsiString virtual
method Remove(StartIndex: Int32): AnsiString
AnsiString Remove(Int32 StartIndex)
func Remove(_ StartIndex: Int32) -> AnsiString
AnsiString Remove(Integer StartIndex)
Function Remove(StartIndex As Int32) As AnsiString
Parameters:
- StartIndex:
Remove (Int32, Int32): AnsiString virtual
method Remove(StartIndex: Int32; aCount: Int32): AnsiString
AnsiString Remove(Int32 StartIndex, Int32 aCount)
func Remove(_ StartIndex: Int32, _ aCount: Int32) -> AnsiString
AnsiString Remove(Integer StartIndex, Integer aCount)
Function Remove(StartIndex As Int32, aCount As Int32) As AnsiString
Parameters:
- StartIndex:
- aCount:
Replace (AnsiString, AnsiString): AnsiString
method Replace(aFromText: AnsiString; aToText: AnsiString): AnsiString
AnsiString Replace(AnsiString aFromText, AnsiString aToText)
func Replace(_ aFromText: AnsiString, _ aToText: AnsiString) -> AnsiString
AnsiString Replace(AnsiString aFromText, AnsiString aToText)
Function Replace(aFromText As AnsiString, aToText As AnsiString) As AnsiString
Parameters:
- aFromText:
- aToText:
Replace (AnsiString, AnsiString, TReplaceFlags): AnsiString virtual
method Replace(OldPattern: AnsiString; NewPattern: AnsiString; aFlags: TReplaceFlags): AnsiString
AnsiString Replace(AnsiString OldPattern, AnsiString NewPattern, TReplaceFlags aFlags)
func Replace(_ OldPattern: AnsiString, _ NewPattern: AnsiString, _ aFlags: TReplaceFlags) -> AnsiString
AnsiString Replace(AnsiString OldPattern, AnsiString NewPattern, TReplaceFlags aFlags)
Function Replace(OldPattern As AnsiString, NewPattern As AnsiString, aFlags As TReplaceFlags) As AnsiString
Parameters:
- OldPattern:
- NewPattern:
- aFlags:
SetLength .NET, Island
method SetLength(aLength: Int32)
void SetLength(Int32 aLength)
func SetLength(_ aLength: Int32)
Sub SetLength(aLength As Int32)
Parameters:
- aLength:
StartsWith virtual
method StartsWith(aSubText: AnsiString): Boolean
Boolean StartsWith(AnsiString aSubText)
func StartsWith(_ aSubText: AnsiString) -> Boolean
Boolean StartsWith(AnsiString aSubText)
Function StartsWith(aSubText As AnsiString) As Boolean
Parameters:
- aSubText:
SubString (Int32): AnsiString virtual
method SubString(StartIndex: Int32): AnsiString
AnsiString SubString(Int32 StartIndex)
func SubString(_ StartIndex: Int32) -> AnsiString
AnsiString SubString(Integer StartIndex)
Function SubString(StartIndex As Int32) As AnsiString
Parameters:
- StartIndex:
SubString (Int32, Int32): AnsiString virtual
method SubString(StartIndex: Int32; aLength: Int32): AnsiString
AnsiString SubString(Int32 StartIndex, Int32 aLength)
func SubString(_ StartIndex: Int32, _ aLength: Int32) -> AnsiString
AnsiString SubString(Integer StartIndex, Integer aLength)
Function SubString(StartIndex As Int32, aLength As Int32) As AnsiString
Parameters:
- StartIndex:
- aLength:
ToLower .NET, Cooper, Island
method ToLower: AnsiString
AnsiString ToLower()
func ToLower() -> AnsiString
AnsiString ToLower()
Function ToLower() As AnsiString
ToLower ToLower(): AnsiString virtual Toffee
func ToLower(ToLower ) -> AnsiString
Parameters:
- :
ToNullTerminated .NET, Cooper, Island
method ToNullTerminated: AnsiString
AnsiString ToNullTerminated()
func ToNullTerminated() -> AnsiString
AnsiString ToNullTerminated()
Function ToNullTerminated() As AnsiString
ToNullTerminated ToNullTerminated(): AnsiString virtual Toffee
func ToNullTerminated(ToNullTerminated ) -> AnsiString
Parameters:
- :
toString Cooper
method toString: PlatformString
PlatformString toString()
func toString() -> PlatformString
PlatformString toString()
Function toString() As PlatformString
ToString virtual Toffee
func ToString(ToString ) -> PlatformString
Parameters:
- :
ToUpper .NET, Cooper, Island
method ToUpper: AnsiString
AnsiString ToUpper()
func ToUpper() -> AnsiString
AnsiString ToUpper()
Function ToUpper() As AnsiString
ToUpper ToUpper(): AnsiString virtual Toffee
func ToUpper(ToUpper ) -> AnsiString
Parameters:
- :
Trim .NET, Cooper, Island
method Trim: AnsiString
AnsiString Trim()
func Trim() -> AnsiString
AnsiString Trim()
Function Trim() As AnsiString
Trim Trim(): AnsiString virtual Toffee
func Trim(Trim ) -> AnsiString
Parameters:
- :
TrimLeft .NET, Cooper, Island
method TrimLeft: AnsiString
AnsiString TrimLeft()
func TrimLeft() -> AnsiString
AnsiString TrimLeft()
Function TrimLeft() As AnsiString
TrimLeft TrimLeft(): AnsiString virtual Toffee
func TrimLeft(TrimLeft ) -> AnsiString
Parameters:
- :
TrimRight .NET, Cooper, Island
method TrimRight: AnsiString
AnsiString TrimRight()
func TrimRight() -> AnsiString
AnsiString TrimRight()
Function TrimRight() As AnsiString
TrimRight TrimRight(): AnsiString virtual Toffee
func TrimRight(TrimRight ) -> AnsiString
Parameters:
- :