CAS 6


payhistvalidate
- Financial

Summary

Result is boolean indicating if the string is a valid payment history string or not.

Description

A valid payment history string consists entirely of the digits 0-9, where reading from left to right, digits never increase by more than 1.

In other words, digits may decrease by any amount, stay the same, or increase by one.

Examples

payhistvalidate '000012500000'
payhistvalidate '000012300000'
payhistvalidate '0X0012300000'

Syntax

payhistvalidate PayString

Right Arguments

Name Data Type Input Type Description Optional Default
PayString Text Constant, Field Payment history string No

Result

Type: Numeric





Build 6.0.690