Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
365
Optional specific character in mask
posted

Hi, I have a mask in which in using '&' to specify an optional character E.g. "&nnn.nn"

But I actually know that the only allowed character is an x and it's optional. Is there anyway to specify this in a mask?

I've tried the following masks:

"xnnn.n" - always shows the x

"{char:1:x}nnn.n" - isn't optional

Ideally I would want to do:

"{char:0-1:x}nnn.n"

Thanks, Mark.