Progress 4gl format string with constants

Status
Not open for further replies.
S

Stacked

Guest
Is there a way to format a string in Progress with a specific character?

An example is showing an SSN with x's for the first 6 numbers. I've attempted to use the String function, but it does not respect the letter x being sent in with the format.

SSNString = '333224444'.
SSNString = String(SSNString, "xxx-xx-9999").
//This displays 333-22-4444 instead of xxx-xx-4444.

Continue reading...
 
Status
Not open for further replies.
Top