Home All Groups Group Topic Archive Search About

replacing a space with dot

Author
22 Aug 2006 3:24 PM
7736
Good Day..

   could someone please help me with some code on how to replace a
space with a dot.

what i am actually doing is..

when a user gets to change their display name  in oracle it gets
changed through our metaverse system.
users  want to use their display names as their email aliases instead
of their first name.last name.

We have  mapped their display name in oracle with their last name  to
give their display name.

now what needs to be done is to include a dot(.)  in place of the space
in between the names.

anyone can help with some code would be gratefull.

Thanks

Author
22 Aug 2006 4:56 PM
Dick Grier
Hi,

Perhaps,

MyString.Replace(" ", ".")

I'm a little uncertain from your description, and it is possible that you
need something more complex (see help and google on Regular Expressions).

Dick

--
Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
Edition,
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March
2006.
See www.hardandsoftware.net for details and contact information.