Hi All, I have created a rule for adding dashes to any 10 digit phone

Hi All,

I have created a rule for adding dashes to any 10 digit phone number. I thought this might be useful for other programmers who might encounter a similar situation. So just create a rule input(ri!PhoneNumber) of type number(integer) and do the following:

=mid(tostring(ri!PhoneNumber), 1,3)& "-" & mid(tostring(ri!PhoneNumber), 4,3)& "-" & mid(tostring(ri!PhoneNumber), 7,4)...

OriginalPostID-114038

OriginalPostID-114038

  Discussion posts and replies are publicly visible