Highlights
All Snippets
Top 100 Snippets
Librarians
gbCodeLib

By Language
VB6
JavaScript
Perl
HTML
SQL
Java
DOS

GBIC >> Source Code >> Visual Basic >> Snippet

Delete carriage returns from textbox


Sub  DeleteCRLF()
txtHidden.Text = txtVisible.Text
txtVisible.Text = Replace$(txtVisible.Text, vbCrLf, "" )
End Sub