Navigation: thinBasic Modules > Core > String handling > DIGIT$ |
|
Description
Extracts from a string expression only the chars representing a digit char.
Syntax
s = DIGIT$(string_expression)
Returns
String
Parameters
Name |
Type |
Optional |
Meaning |
String_Expression |
String |
No |
Any string expression |
Remarks
Default digit chars are defined by the string "0123456789".
Default string can be changed at run-time using DIGIT_SetMask$ and DIGIT_GetMask$ functions.
Restrictions
See also
DIGIT_SetMask$, DIGIT_GetMask$
Examples
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |