Removes any characters that are not numbers from the string.

 

Note:

This option does not remove commas in a comma separated string (see AsString function).  When numbers are not created within Trading Blox Builder, use the ReplaceString function to remove commas.

 

Useful to remove $ signs and other currency symbols from number strings.

 

Syntax:

RemoveNonDigits( inputString )

 

Parameter:

Description:

inputString

String from which to remove the non-number digits

 

Example:

stringValue = "$40000"
RemoveNonDigits( stringValue )

 

Results:

stringValue is now without a "$" is now like this: "40000"  

 

Links:

GetField, RemoveCommasBetweenQuotes, ReplaceString

See Also:

Data Groups and Types

 


Edit Time: 9/25/2017 09:09:58 AM


Topic ID#: 497

 

Created with Help & Manual 7 and styled with Premium Pack Version 2.80 © by EC Software