String extensions¶
Extensions to the String
and TStringArray
types.
String.Is¶
function String.IsURL(): Boolean;
function String.IsEmail(): Boolean;
function String.IsUUID(): Boolean;
function String.IsUUIDV4(): Boolean;
function String.IsRefreshToken(): Boolean;
Checks if a string is a certain “thing” with some predefined regex patterns.
String.IsURL¶
function String.IsURL(): Boolean;
Checks if a string is a valid “URL” with some predefined regex patterns.
String.IsEmail¶
function String.IsEmail(): Boolean;
Checks if a string is a valid email address with some predefined regex patterns.
String.IsUUID¶
function String.IsUUID(): Boolean;
Checks if a string is a “UUID” with some predefined regex patterns.
String.IsUUIDV4¶
function String.IsUUIDV4(): Boolean;
Checks if a string is a “UUID V4” with some predefined regex patterns.
String.IsRefreshToken¶
function String.IsRefreshToken(): Boolean;
Checks if a string is a “refresh token” with some predefined regex patterns.