Trim user input of spaces, tabs, and others
From: Shabam (blislecp_at_hotmail.com)
Date: 10/09/04
- Next message: Shamefoot: "RE: Any Key"
- Previous message: Da Tr: "Re: auto timeout for winform application"
- Next in thread: Niki Estner: "Re: Trim user input of spaces, tabs, and others"
- Reply: Niki Estner: "Re: Trim user input of spaces, tabs, and others"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 9 Oct 2004 12:32:43 -0700
Is there a function in dotnet that allows me to trim user input so that:
1) It gets rid of leading/trailing spaces, tabs, newlines and whatever other
non-printing characters
2) Gets rid of all tabs, newlines, and whatever other non-printing
characters anywhere else, preferably replacing them with one space
3) Takes any consecutive number of spaces and replace it with just one
space.
- Next message: Shamefoot: "RE: Any Key"
- Previous message: Da Tr: "Re: auto timeout for winform application"
- Next in thread: Niki Estner: "Re: Trim user input of spaces, tabs, and others"
- Reply: Niki Estner: "Re: Trim user input of spaces, tabs, and others"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|