CAS 6


payhistclean
- Financial

Summary

Result is a paystring forced to be valid. A worst-case scenario is assumed.

Description

Non-digit characters, including non-trailing blanks, are assumed to be 9.

If two consective digits conflict, the larger is assumed to be correct, and the digits leading up the larger digit are increased accordingly.

It is often useful to replace specific characters with specfice digits in the string before applying this function.

Examples

payhistclean'000012500000'
payhistclean'00 0125000000000X'

Syntax

payhistclean PayString

Right Arguments

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

Result

Type: Text

Result is a paystring forced to be valid.



Build 6.0.690