Overload List
Overload 1: class function IsNullOrWhiteSpace(const Value: Char): Boolean; overload; static;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | Char |
Returns: Boolean
Overload 2: class function IsNullOrWhiteSpace(const Value: PChar): Boolean; overload; static;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | PChar |
Returns: Boolean
Overload 3: class function IsNullOrWhiteSpace(const Value: RawByteString): Boolean; overload; static;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | RawByteString |
Returns: Boolean
Overload 4: class function IsNullOrWhiteSpace(const Value: Substr.Substring): Boolean; overload; static;
Whether Value is empty or every character is <= ' ', for every text kind.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | Substr.Substring |
Returns: Boolean
Examples
Blank and non-blank texts.
uses Substr;
procedure Example;
begin
Assert(Substring.IsNullOrWhiteSpace(' '#9));
Assert(not Substring.IsNullOrWhiteSpace(' x'));
end;
Overload 5: class function IsNullOrWhiteSpace(const Value: WideString): Boolean; overload; static;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | WideString |
Returns: Boolean
Overload 6: class function IsNullOrWhiteSpace(const Value: string): Boolean; overload; static;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | string |
Returns: Boolean