Difference between revisions of "IS STRING()"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
Helen.george (Talk | contribs) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
Function to check whether an expression is a character string | Function to check whether an expression is a character string | ||
− | |||
==Syntax== | ==Syntax== | ||
IS_STRING(<exp>) | IS_STRING(<exp>) | ||
− | |||
==See Also== | ==See Also== | ||
[[IS_ARRAY()]], [[IS_FLOAT()]], [[IS_INT()]], [[IS_OBJECT()]], [[ISALPHA()]], [[ISDIGIT()]], [[ISLOWER()]], [[ISUPPER()]], [[LOCAL]], [[PRIVATE]], [[PUBLIC]], [[RELEASE]], [[RESTORE]], [[SAVE]], [[TYPE()]] | [[IS_ARRAY()]], [[IS_FLOAT()]], [[IS_INT()]], [[IS_OBJECT()]], [[ISALPHA()]], [[ISDIGIT()]], [[ISLOWER()]], [[ISUPPER()]], [[LOCAL]], [[PRIVATE]], [[PUBLIC]], [[RELEASE]], [[RESTORE]], [[SAVE]], [[TYPE()]] | ||
− | |||
==Description== | ==Description== | ||
The IS_STRING() function returns .T. (true) if the specified expression is a character string value, otherwise .F. (false). | The IS_STRING() function returns .T. (true) if the specified expression is a character string value, otherwise .F. (false). | ||
− | |||
==Example== | ==Example== | ||
Line 25: | Line 21: | ||
.T. | .T. | ||
</code> | </code> | ||
− | |||
==Products== | ==Products== | ||
− | + | Lianja, Lianja Server | |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | [[Category: | + | [[Category:Formatting Functions]] |
− | [[Category: | + | [[Category:Lianja VFP Extensions]] |
+ | [[Category:VFP Function Extensions]] |
Latest revision as of 08:13, 4 February 2013
Purpose
Function to check whether an expression is a character string
Syntax
IS_STRING(<exp>)
See Also
IS_ARRAY(), IS_FLOAT(), IS_INT(), IS_OBJECT(), ISALPHA(), ISDIGIT(), ISLOWER(), ISUPPER(), LOCAL, PRIVATE, PUBLIC, RELEASE, RESTORE, SAVE, TYPE()
Description
The IS_STRING() function returns .T. (true) if the specified expression is a character string value, otherwise .F. (false).
Example
cVAR = "Hello" ? is_string(cVAR) .T. ? is_string("World") .T. ? is_string(tostring(date())) .T.
Products
Lianja, Lianja Server