[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Convert string to boolean
Source position: syshelph.inc line 93
public class function TStringHelper.ToBoolean( |
const S: string |
):Boolean; overload; |
ToBoolean returns the contents of the string S as a boolean (if possible). It uses StrToBool to convert the value to a boolean.
If the string contains a value that cannot be translated to a boolean, an EConvertError exception may be raised.
|
Convert a string to a boolean value |
|
|
Conversion error. |
|
|
Convert string to double-sized floating point value |
|
|
Convert string to extended-sized floating point value |
|
|
Convert string to 64-bit signed integer |
|
|
Convert string to 32-bit signed integer |
|
|
Convert string to single-sized floating point value |