u5070

u5070


u3070 Index Level u508e
Syntax u5070,string
Category Access
Type User Exit
Description converts a string to the form:

string[1,3]: "-000"

It strips all but the first three characters, and then appends the literal '-000' to the end.

If the string is less than three characters long, then it is returned untouched.
Options
See Also user exits, Access
Example string = "abcdef"
u5070,string

Returns "abc-00".
Warnings
Compatibility R83 2.2
u3070 Index Level u508e