Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.1
|
ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.1 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 7th, 2004, 04:30 AM
Registered User
 
Join Date: Dec 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Insert dots between characters

hi,

I am making an form and i need an control in my textbox that will put a dot between characters like this.

T.O.N.E.R

how do i do that?
could somebody help me with this?
thnx!

 
Old December 7th, 2004, 09:17 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Can you give us more information? Do you want to '.' to be placed there when someone types it or after they submit the form?

 
Old December 8th, 2004, 04:01 AM
Registered User
 
Join Date: Dec 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yeah after they submit.
'.'
so you get t.o.n.e.r instead of toner

 
Old December 8th, 2004, 09:39 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
Default

You will need to loop through the length of the textbox.text and use use Substring to split the textbox.text based on the length then put it all back together with '.' between each new string.






Similar Threads
Thread Thread Starter Forum Replies Last Post
xslt:fill data with dots blitzer XSLT 1 May 18th, 2007 03:04 AM
trigger to insert current date on insert kev_79 SQL Server 2000 3 January 23rd, 2006 05:58 PM
first two characters crmpicco Classic ASP Databases 4 January 26th, 2005 02:57 PM
**** instead of characters Louisa VB.NET 2002/2003 Basics 2 March 25th, 2004 09:08 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.