em.....,. it's not I'm looking for

interview (intervieweree)
the actulal situation is:

I got phone number looks like 416-123-45-67-789,
I want to remove the second and third hyphens
and replace the last one with "ext".
sometimes the string comes up as 416-123-4567-789
which is almost correct, just needs to replace last
one with "ext" and replace the second "-" with "",
any general solutions?

and what about situations 416-12345-67-789?

I remember I saw very short piece of code to address this.
can not remember now.....

2002-2-12 -04:00

回到话题: a small VB question

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论