String¶
String methods
String.SetLength¶
procedure String.SetLength(NewLength: Integer);
String.Length¶
property String.Length: Integer;
String.High¶
property String.Low: Integer;
String.High¶
property String.High: Integer;
String.Pop¶
property String.Pop: Char;
String.First¶
property String.First: Char;
String.Last¶
property String.Last: Char;
String.Before¶
function String.Before(Value: String): String;
String.After¶
function String.After(Value: String): String;
String.StartsWith¶
function String.StartsWith(Value: String; CaseSensitive: Boolean = True): Boolean;
String.Equals¶
function String.EqualsIgnoreCase(Other: String; CaseSensitive: Boolean = True): Boolean;
String.Compare¶
function String.Compare(Other: String): Integer;
String.Similarity¶
function String.Similarity(Other: String): Double;
String.Hash¶
function String.Hash(Seed: UInt32 = 0): UInt32;
String.EndsWith¶
function String.EndsWith(Value: String; CaseSensitive: Boolean = True): Boolean;
String.IsUpper¶
property String.IsUpper(): Boolean;
String.IsLower¶
property String.IsLower: Boolean;
String.ToUpper¶
function String.ToUpper: String;
String.ToLower¶
function String.ToLower: String;
String.Capitalize¶
function String.Capitalize(): String;
String.CapitalizeWords¶
function String.CapitalizeWords: String;
String.SwapCase¶
function String.SwapCase(): String;
String.Join¶
function String.Join(Values: TStringArray): String;
String.Split¶
function String.Split(Seperator: String; ExcludeEmpty: Boolean = True): TStringArray;
String.SplitLines¶
function String.SplitLines: TStringArray;
String.PadLeft¶
function String.PadLeft(Count: Integer; PaddingChar: Char = #32): String;
String.PadRight¶
function String.PadRight(Count: Integer; PaddingChar: Char = #32): String;
String.PadCenter¶
function String.PadCenter(Count: Integer; PaddingChar: Char = #32): String;
String.Partition¶
function String.Partition(Value: String): TStringArray;
String.Replace¶
function String.Replace(OldValue: String; NewValue: String; CaseSensitive: Boolean = True): String;
String.Trim¶
function String.Trim: String;
String.TrimLeft¶
function String.TrimLeft: String;
String.TrimRight¶
function String.TrimRight: String;
String.Trim¶
function String.Trim(TrimChars: array of Char): String;
String.TrimLeft¶
function String.TrimLeft(TrimChars: array of Char): String;
String.TrimRight¶
function String.TrimRight(TrimChars: array of Char): String;
String.RegExprSplit¶
function String.RegExprSplit(Pattern: String): TStringArray;
String.RegExprFind¶
function String.RegExprFind(Pattern: String): TRegExprMatch;
String.RegExprFindAll¶
function String.RegExprFindAll(Pattern: String): TRegExprMatchArray;
String.RegExprExists¶
function String.RegExprExists(Pattern: String): Boolean;
String.IndexOf¶
function String.IndexOf(Value: String): Integer;
String.IndexOf¶
function String.IndexOf(Value: String; Offset: Integer): Integer;
String.LastIndexOf¶
function String.LastIndexOf(Value: String): Integer;
String.LastIndexOf¶
function String.LastIndexOf(Value: String; Offset: Integer): Integer;
String.IndicesOf¶
function String.IndicesOf(Value: String): TIntegerArray;
String.IndicesOf¶
function String.IndicesOf(Value: String; Offset: Integer): TIntegerArray;
String.Between¶
function String.Between(S1, S2: String): String;
String.BetweenAll¶
function String.BetweenAll(S1, S2: String): TStringArray;
String.Extract¶
function String.Extract(Chars: array of Char): String;
String.ExtractInteger¶
function String.ExtractInteger(Default: Int64 = -1): Int64;
String.ExtractFloat¶
function String.ExtractFloat(Default: Double = -1): Double;
String.IsAlpha¶
property String.IsAlpha: Boolean;
String.IsAlphaNum¶
property String.IsAlphaNum: Boolean;
String.IsNumeric¶
property String.IsNumeric: Boolean;
String.IsInteger¶
property String.IsInteger: Boolean;
String.IsFloat¶
property String.IsFloat: Boolean;
String.Insert¶
procedure String.Insert(Value: String; Index: Integer);
String.DeleteIndex¶
function String.DeleteIndex(Index: Integer): Char;
String.DeleteRange¶
procedure String.DeleteRange(StartIndex, EndIndex: Integer);
String.Copy¶
function String.Copy: String;
String.CopyRange¶
function String.CopyRange(StartIndex, EndIndex: Integer): String;
String.Count¶
function String.Count(Value: String): Integer;
String.Contains¶
function String.Contains(Value: String; CaseSensitive: Boolean): Boolean;
String.ContainsAny¶
function String.ContainsAny(Values: TStringArray; CaseSensitive: Boolean = True): Boolean;
String.Format¶
function String.Format(Args: TVariantArray): String;
String.ToBytes¶
function String.ToBytes: TByteArray;
String.ToBoolean¶
function String.ToBoolean: Boolean;
String.ToBoolean¶
function String.ToBoolean(Default: Boolean): Boolean;
String.ToInteger¶
function String.ToInteger: Integer;
String.ToInteger¶
function String.ToInteger(Default: Integer): Integer;
String.ToInt64¶
function String.ToInt64: Int64;
String.ToInt64¶
function String.ToInt64(Default: Int64): Int64;
String.ToSingle¶
function String.ToSingle: Single;
String.ToSingle¶
function String.ToSingle(Default: Single): Single;
String.ToDouble¶
function String.ToDouble: Double;
String.ToDouble¶
function String.ToDouble(Default: Double): Double;
String.ToDateTime¶
function String.ToDateTime(Fmt: String; Def: TDateTime): TDateTime;
operator *(Left: String; Right: Integer): String;
in¶
operator in(Left: String; Right: String): Boolean;
in¶
operator in(Left: String; Right: TStringArray): Boolean;
Char.IsAlpha¶
property Char.IsAlpha: Boolean;
Char.IsAlphaNum¶
property Char.IsAlphaNum: Boolean;
Char.IsNumeric¶
property Char.IsNumeric: Boolean;
Char.IsUpper¶
property Char.IsUpper: Boolean;
Char.IsLower¶
property Char.IsLower: Boolean;
Char.ToUpper¶
function Char.ToUpper: String;
Char.ToLower¶
function Char.ToLower: String;
Char.Join¶
function Char.Join(Values: TStringArray): String;
operator *(Left: Char; Right: Integer): String;
in¶
operator in(Left: Char; Right: String): Boolean;
in¶
operator in(Left: Char; Right: TStringArray): Boolean;
TStringArray.Join¶
function TStringArray.Join(Glue: String): String;