Checks if a variable is a string type.
IsString ( variable )
Parameters
variable | The variable/expression to check. |
Return Value
Success: | Returns 1. |
Failure: | Returns 0 if expression is not string type. |
Remarks
None.
Related
IsArray, IsFloat, IsInt
Example
$x = IsString("foo")