STRIP_LEADING_NUMBERS Function

RAMP-NL

STRIP_LEADING_NUMBERS Function


Returns the leading numbers from a string to the caller.

Syntax

STRIP_LEADING_NUMBERS(sSourceString)

 

Parameters

sSourceString 

String. Required. The string from which the numbers are to be stripped. 

 

Return Value

String. The stripped numbers.

 

Example

This code causes the message "String returned was 15" to be displayed:

var strResult = STRIP_LEADING_NUMBERS("015. Office Tasks");

alert("String returned was " + strResult);