1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

  2. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

Progress 4gl format string with constants

Discussão em 'StackOverflow' iniciado por fdantas, Março 23, 2015.

  1. fdantas

    fdantas Administrator Moderador

    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...

Compartilhe esta Página