Wrox Programmer Forums
|
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics 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 June 3rd, 2005, 04:28 PM
Authorized User
 
Join Date: Dec 2004
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default Need Help A Editing String!

Could someone please tell me how I can take a string of letters that is input and edit it to make sure there are now letters that are not appropriate.

Say someone enters: "TAZGCAACCCGGB"

I want to eliminate any letters other than A, C, G, or T. Then I want to print the sequence out in triplets with spaces in between in three letters: "TAG CAA CCC GG"

Thanking you in advance,

Little Shell

 
Old June 4th, 2005, 12:39 AM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 449
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to r_ganesh76
Default

are you into web or windows development.

you can use the validation controls to specify a regular expression for validation of your strings.

Regards
Ganesh
 
Old June 4th, 2005, 03:05 AM
Authorized User
 
Join Date: Dec 2004
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ganesh,

I am writing code in a windows form. If I look in help under validation code, I'll find some help?

Little Shell






Similar Threads
Thread Thread Starter Forum Replies Last Post
editing and cacheing forumuser BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 December 17th, 2007 05:34 AM
Editing a Report fubak Access 33 September 8th, 2006 12:02 PM
Editing File Hind Java Basics 2 June 14th, 2006 07:04 PM
Editing in DataGrid abdul_owiusa ASP.NET 1.0 and 1.1 Professional 0 May 1st, 2006 07:56 AM
Help on Image Editing Raghavendra_Mudugal VB How-To 1 March 22nd, 2005 12:06 PM





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