Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
C# Helper...
 
XML RSS Feed
Follow VBHelper on Twitter
 
 
 
MSDN Visual Basic Community
 
 
 
 
 
  Index: Strings  
General Parsing Formatting
Code
 
 
 
Stephens' Visual Basic Programming 24-Hour Trainer
Stephens' C# Programming with Visual Studio 2010 24-Hour Trainer
Beginning Database Design Solutions
WPF Programmer's Reference
Visual Basic 2010 Programmer's Reference
Stephens' Visual Basic Programming 24-Hour Trainer
Stephens' C# Programming with Visual Studio 2010 24-Hour Trainer
Beginning Database Design Solutions
WPF Programmer's Reference
Visual Basic 2010 Programmer's Reference
 
General

Title Keywords  
HowTo: Detect whether text in a multiline TextBox is wrapped in Visual Basic 6TextBox, word wrap, multiline, Visual Basic 6, Visual BasicDownload
HowTo: Detect whether text in a multiline TextBox is wrapped in Visual Basic .NETTextBox, word wrap, multiline, Visual Basic .NET, Visual Basic, VB.NETDownload
HowTo: Let the user press Ctrl-A to select all of the text in a TextBoxctrl-A, control-A, select textDownload
HowTo: Let the user press Ctrl-A to select all of the text in a TextBox in VB .NETctrl-A, control-A, select textDownload
HowTo: Evaluate mathematical expressions using Excel's Evaluate functionreplace, character, remove, unwantedDownload
HowTo: Replace unwanted characters in a stringreplace, character, remove, unwantedDownload
HowTo: Replace unwanted characters in a string using Replacereplace, character, remove, unwantedDownload
HowTo: See if a string contains only digits or only lettersstring, numeric, alpha, digits, lettersDownload
HowTo: See if a string is an integerstring, integerDownload
HowTo: Find a string within a TextBoxfind string, find text, find, search, TextBoxDownload
HowTo: Break code lines at a specified widthstrings, code, break codeDownload
How To: Find the text before, between, and after two target stringsstrings, before, between, after, targetDownload

Parsing

Title Keywords  
HowTo: Use regular expressions and LINQ to list the unique words contained in a text file in Visual Basic .NETfiles, regular expressions, LINQ, strings, replace, unique words, words, count words, Visual Basic .NET, VB.NET, example, example program, Windows Forms programmingDownload
HowTo: Parse user-entered values in Visual Basic .NETparse, parse values, entered text, user-entered text, Visual Basic .NET, VB.NETDownload
Tip: Use the Split function easily in Visual Basic .NETsplit, Visual Basic .NET 
HowTo: Evaluate mathematical expressions using code in Visual Basic 2005mathematical expression, expression, evaluate, VB.NETDownload
HowTo: Determine whether a year is a leap year with Visual Basic 2005leap year, year, datesDownload
HowTo: Determine whether a year is a leap year with Visual Basic 6leap year, year, datesDownload
HowTo: Replace unprintable characters with spaces in Visual Basic .NETcharacter, ASCII, replace, regular expressions, regex, VB.NETDownload
HowTo: Extract comments from a Visual Basic 6 file in Visual Basic 6extract comments, comments, Visual Basic 6, Attribute, codeDownload
HowTo: Write functions to determine whether a string starts or ends with a substring in Visual Basic 6StartsWith, EndsWith, substringDownload
HowTo: Verify that the user entered a date in an InputBoxInputBox, validate, verify, dateDownload
HowTo: Run a DOS application and capture its output in VB .NETDOS, stdout, stderr, standard output, standard error, standard out, run, VB.NETDownload
Talk: Three Cool Namespacesregex, regular expression, XML, serialie, serialization, crypto, cryptography, hash, hashing, encrypt, decrypt, encryption, decryption 
HowTo: Use regular expressions to replace characters within parts of a string surrounded by quotes in Visual Basic 6regular expression, regex, regexp, replaceDownload
HowTo: Use Split to replace characters within parts of a string surrounded by quotes in Visual Basic 6replace, Split, regular expressionDownload
HowTo: Use regular expressions to replace characters within parts of a string surrounded by quotes in Visual Basic .NETregular expression, regex, regexp, replace, VB .NETDownload
HowTo: Write Split and Join functions for VB 5Split, Join, VB5Download
HowTo: Write an InStrRev function for VB 5InStrRev, VB5, Visual Basic 5Download
HowTo: Evaluate mathematical expressions using code in VB .NETmathematical expression, expression, evaluate, VB.NETDownload
HowTo: Determine what FRM, BAS, OCX, and CLS files a project file referencesVBP, filesDownload
HowTo: Evaluate mathematical expressions using the MS Script controlmathematical expression, expression, evaluate, parse, Script controlDownload
HowTo: Graph a user-entered function by using the MS Script controlgraph, equation, scale, user-entered function, mathematical expression, expression, evaluate, parse, Script controlDownload
HowTo: Graph a user-entered function by parsing the functiongraph, equation, scale, user-entered function, parseDownload
HowTo: Read all of the values in an INI fileINI file, INI, initialization fileDownload
HowTo: Separate an RTF file into paragraphs in separate Rich Text Box controlsRTF, rich text, rich text box, RichTextBox, paragraphsDownload
HowTo: Split a multiline string into pieces in VB 6split, multi-line, multiline, parseDownload
HowTo: Find regular expression matches in a stringregular expression, string, parsing, parse, replace, RegExpDownload
HowTo: Use regular expressions to replace text in a stringregular expression, string, parsing, parse, replace, RegExpDownload
HowTo: Use regular expressionsregular expression, string, parsing, parseDownload
HowTo: Use regular expressions to replace text in the lines in a stringregular expression, string, parsing, parse, replace, RegExpDownload
HowTo: Find regular expression matches in a string in VB .NETregular expression, string, parsing, parseDownload
HowTo: Use regular expressions to replace text in a string in VB .NETregular expression, string, parsing, parse, replaceDownload
HowTo: Use regular expressions in VB .NETregular expression, string, parsing, parseDownload
HowTo: Use regular expressions to replace text in the lines in a string in VB .NETregular expression, string, parsing, parse, replaceDownload
HowTo: Double-click to strike a line in a RichTextBoxRichTextBox, RTF, font, strikethrough, strike throughDownload
HowTo: Replace occurrences of a string in another (like VB6's Replace function)replace, findDownload
HowTo: Validate a credit card numbercredit card, Visa, Master Card, American Express, Discover, EnRoute, JCB, Diners Club, Carte BlancheDownload
HowTo: Read tokens from a delimited stringtoken, delimited string, stringDownload
HowTo: Modify mailto links to reduce spamspam, mailto, mail, email, linkDownload
HowTo: See if a date string is valid using regional date settingsdate string, validate, validation, regional, internationalDownload
HowTo: Manually import a delimited text file into a databasedatabase, import, delimited fileDownload
HowTo: Recursively find the last occurrance of a substring without using InStrRevInStrRev, last occurranceDownload
HowTo: Iteratively find the last occurrance of a substring without using InStrRevInStrRev, last occurranceDownload
HowTo: See if a date string is validdate string, validate, validationDownload
HowTo: See if a string contains a minimal piece of another stringsubstringDownload
HowTo: Evaluate mathematical expressions using codemathematical expression, expression, evaluateDownloadBook

Formatting

Title Keywords  
HowTo: Make a ransom note style message by drawing text using different fonts for each character in a RichTextBox in Visual Basic 6ransom note, text, string, random fonts, random characters, Visual Basic 6, VB 6Download
HowTo: Make a ransom note style message by drawing text using different fonts for each character in a RichTextBox in Visual Basic .NETransom note, text, string, random fonts, random characters, Visual Basic .NET, VB .NETDownload
HowTo: Convert strings between Pascal case, camel case, and proper case in Visual Basic 6Pascal case, camel case, proper case, Pascal-case, camel-case, proper-case, capitalize, capitalization, Visual Basic 6, VB 6Download
HowTo: Use a second method to convert strings between Pascal case, camel case, and proper case in Visual Basic .NETPascal case, camel case, proper case, Pascal-case, camel-case, proper-case, capitalize, capitalization, Visual Basic .NET, VB.NETDownload
HowTo: Convert strings between Pascal case, camel case, and proper case in Visual Basic .NETstrings, camelCase, PascalCase, Pascal case, camel case, proper case, add spaces, Visual Basic .NET, VB.NETDownload
HowTo: Make a String extension method to URL encode and decode strings in Visual Basic 2008string, extension method, URL encode, URL decode, Visual Basic 2008Download
HowTo: Make a String extension method to replace spaces with non-breaking spaces in Visual Basic 2008string, nbsp, extension method, Visual Basic 2008Download
HowTo: Compress spaces in a stringcompress spaces, space, compact, duplicateDownload
HowTo: Build a function to compress consecutive spaces into one space in Visual Basic 6.space, spaces, compress, replaceDownload
HowTo: Build a function to compress consecutive spaces into one space in Visual Basic 2005space, spaces, compress, replace, Visual Basic .NET, Visual Basic 2005Download
HowTo: Make a function to split a string into an array of strings by using multiple separators in Visual Basic 6.split, string, separatorsDownload
HowTo: Trim leading and trailing non-printing ASCII characters from a string in Visual Basic .NETtrim, ltrim, rtrim, TrimWhitespace, LTrimWhitespace, RTrimWhitespace, non-printing, ASCII, carriage return, linefeed, line feedDownload
HowTo: Trim leading and trailing non-printing ASCII characters from a string in Visual Basic 6trim, ltrim, rtrim, TrimWhitespace, LTrimWhitespace, RTrimWhitespace, non-printing, ASCII, carriage return, linefeed, line feedDownload
HowTo: Calculate escalating royaltiesescalating royalties, royalties, calculate, percent, FormatCurrency, GetPercentDownload
HowTo: Calculate escalating royalties in Visual Basic .NETescalating royalties, royalties, calculate, percent, FormatCurrency, GetPercent, VB.NETDownload
HowTo: Use GetCurrencyFormat to format a currency value using locale defaults or custom formattingformat currency, GetCurrencyFormat, localeDownload
HowTo: Use the FormatCurrency function in Visual Basic 6FormatCurrency, format currencyDownload
HowTo: Use GetNumberFormat to format a number using locale defaults or custom formattingformat number, GetNumberFormat, localeDownload
HowTo: Use the FormatNumber function in Visual Basic 6FormatNumber, format numberDownload
HowTo: Use the FormatCurrency function in Visual Basic .NETFormatCurrency, format currency, VB.NETDownload
HowTo: Use the FormatNumber function in Visual Basic .NETFormatNumber, format number, VB.NETDownload
HowTo: Use the FormatDateTime function in Visual Basic .NETFormatDateTime, format date, format time, format datetime, VB.NETDownload
HowTo: Use the FormatPercent function in Visual Basic .NETFormatPercent, format percentage, format percent, percent, percentage, VB.NETDownload
HowTo: Use the FormatDateTime function in Visual Basic 6FormatDateTime, format date, format time, format datetimeDownload
HowTo: Use the FormatPercent function in Visual Basic 6FormatPercent, format percentDownload
HowTo: Verify that the user entered a date in an InputBoxInputBox, validate, verify, dateDownload
HowTo: Convert the text the user is typing in a TextBox to Proper Case in Visual Basic .NETTextBox, convert, proper case, StrConv, VB.NETDownload
HowTo: Convert the text the user is typing in a TextBox to Proper CaseTextBox, convert, proper case, StrConvDownload
HowTo: Pad strings on the left or right in Visual Basic .NETpad string, PadLeft, PadRight, String, format string, VB .NETDownload
HowTo: Format the columns displayed by a DataTable in a DataGrid control in Visual Basic .NETDataTable, column, format, align, alignment, DataGrid, VB.NETDownload
HowTo: Convert a string into bytes and vice versaconvert, string, bytes, unicodeDownload
HowTo: URL decode a stringURL, encode, decode, code, stringDownload
HowTo: Use regular expressions to replace characters within parts of a string surrounded by quotes in Visual Basic 6regular expression, regex, regexp, replaceDownload
HowTo: Use Split to replace characters within parts of a string surrounded by quotes in Visual Basic 6replace, Split, regular expressionDownload
HowTo: Use regular expressions to replace characters within parts of a string surrounded by quotes in Visual Basic .NETregular expression, regex, regexp, replace, VB .NETDownload
HowTo: Tip: Use LCase$ and UCase$ instead of the CharLower and CharUpper API functionsCharLower, CharUpper, case, LCase, UCaseDownload
HowTo: Compare the speeds of Trim$(s) and s.Trim() in VB .NETtrim, Trim$, VB.NET, stringDownload
HowTo: Generate HTML versions of all of a Word document's tablesHTML, Word, Microsoft Word, tableDownload
HowTo: Draw text centered at a positiontext, center text, fontDownload
HowTo: Draw text centered at a position in VB .NETtext, center text, fontDownload
HowTo: Use VBA macros to accept revisions in a Word document between two datescode, format, Word, VBADownloadBook
HowTo: Use VBA macros to format text in Word to look like codecode, format, Word, VBADownloadBook
HowTo: Use standard formatting strings to format Doubles in VB .NETformat, format specifier, string, VB.NETDownload
HowTo: Use a composite format specifier in VB .NETformat, format specifier, string, VB.NETDownload
HowTo: Use standard formatting strings to format Dates in VB .NETformat, format specifier, string, VB.NETDownload
HowTo: Use custom formatting strings to format Dates in VB .NETformat, format specifier, string, VB.NETDownload
HowTo: Use custom formatting strings to format Doubles in VB .NETformat, format specifier, string, VB.NETDownload
HowTo: Format dates and draw an analog clockformat date, clock, analog clockDownload
HowTo: Format a TimeSpan in days, hours, minutes, and seconds in VB.NETTimeSpan, VB.NET, formatDownload
HowTo: Convert text to proper case using StrConvStrConv, proper caseDownload
HowTo: Set formatting for a RichTextBox control all at onceRTF, Rich Text format, RichTextBox, RichTextDownload
HowTo: Split a multiline string into pieces in VB 6split, multi-line, multiline, parseDownload
HowTo: Encode and decode special HTML characters by using XML documentsHTML, code, encode, XML, DomDocumentDownload
HowTo: Left- or right-align text in VB.NETalign, align text, format, VB.NETDownload
HowTo: Draw mathematical equations with super scripts on a formequation, superscript, mathDownload
HowTo: Combine values from two RTF text boxes preserving their formatting propertiesRTF, Rich Text Box, RichTextBoxDownload
HowTo: Right justify a single line TextBoxtext, alignment, right justifyDownload
HowTo: Use GetDateFormat to format a date value using locale defaults or custom formattingformat currency, GetCurrencyFormat, localeDownload
HowTo: Use GetTimeFormat to format a time value using locale defaults or custom formattingformat time, GetCurrencyFormat, localeDownload
HowTo: Get internationalization information from the registryinternationalization, registryDownload
HowTo: URL encode a stringURL, encode, code, stringDownload
HowTo: Find ordinal extensions (as in 1st, 2nd, 143rd, etc.)ordinal extension, 1st, 2nd, 3rdDownload
HowTo: Strip out extra tabs, CrLf and multiple spacesclean, stringDownload
HowTo: Left or right pad a string with a characterpad, fillDownload
HowTo: Prefix mail textprefix mail text, email, break linesDownload

Code

Title Keywords  
HowTo: Use the StringBuilder class to concatenate strings quickly in Visual Basic .NETstrings, variables, StringBuilder, concatenate, catenateDownload
Tip: Use the Split function easily in Visual Basic .NETsplit, Visual Basic .NET 
HowTo: Make a String extension method to URL encode and decode strings in Visual Basic 2008string, extension method, URL encode, URL decode, Visual Basic 2008Download
HowTo: Make a String extension method to replace spaces with non-breaking spaces in Visual Basic 2008string, nbsp, extension method, Visual Basic 2008Download
HowTo: Convert a string into bytes and vice versaconvert, string, bytes, unicodeDownload
HowTo: Write Split and Join functions for VB 5Split, Join, VB5Download
HowTo: Use VBA macros to format text in Word to look like codecode, format, Word, VBADownloadBook
HowTo: Time different methods for testing whether a string is blank to see which is fastesttime, speed, performance, stringDownload
HowTo: Generate random textcode, random textDownload

Copyright © 1997-2010 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated