...and now it has been done. I wrote a program of about 60 lines, and it adds a dot before extensions of any length. Works like a charm. :)
Well, if you don't know what you are checking for, then I guess that would be a problem.Quote:
surely,one can find the '.' but inserting '.' is not that easy.one should then know all
.com,.tk,.info etc sites .
Why would you ever need to find a dot? It seems to me, the poster wants to correct faulty email addresses that don't have dots separating the extension from the rest of the email address.Quote:
Finding the '.' is easy - can be done with one for loop.
That is what the question is.Quote:
But finding where one should be is far harder
With the program I wrote, if you start with "myinfocom", you end up with "myinfo.com", and if you start with "myinfo.com" you end up with no change.Quote:
however if they have something like "myinfo.com", you'd end up with "my.info.com".