Spring.SystemUtils Unit

Provides the internal utilities for Spring4D.

Classes

Routines

GetByteLength(RawByteString)

Retrieves the byte length of a RawByteString (AnsiString or UTF8String).

GetByteLength(WideString)

Retrieves the byte length of a WideString.

GetByteLength(string)

Retrieves the byte length of a unicode string.

SplitString(PChar)

Returns a string array that contains the substrings in the buffer that are delimited by null char (#0) and ends with an additional null char.

SplitString(PChar, Integer, TSysCharSet, Boolean)
SplitString(TCharArray, TSysCharSet, Boolean)
SplitString(string, TSysCharSet, Boolean)

Splits a string into different parts delimited by the specified delimiter characters.

StrToDateTimeFmt(string, string)

Converts a string to a TDateTime value using the specified format.

TryStrToDateTimeFmt(string, string, TDateTime)

Converts a string to a TDateTime value using the specified format, with a Boolean success code.