Returns the leading numbers from a string to the caller.
STRIP_LEADING_NUMBERS(sSourceString)
sSourceString | String. Required. The string from which the numbers are to be stripped. |
String. The stripped numbers.
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);