Visual Basic String Manipulation Tutorials

The string variable is the most used variable in user interface programming. You grab data in strings, you display information to users through strings, and along the way you use strings continuously. You must understand them completely and understand all the functions Visual Basic provides for you to manipulate them.

  • Level1
    VB.NET has amazing support for handling strings. This includes both the native .NET methods as well as the ones in Microsoft provided Microsoft.VisualBasic namespace (which makes migrating from VB6 over to VB.NET much easier). This tutorial goes through most of the string handling functions in in both these areas and compares them to each other.
  • Level2
    You will find times that you need to interact with other programs code through DLLs. These can be DLLs written by yourself or others. The most common time you do this is with the Windows API. This tutorial explains how you can convert C style strings like the Win32 API uses into VB strings.
  • Level1
    Many times when programming you will need to join strings together or a string with some other data type such as a currency or a number. This tutorial explains how to properly do this in Visual Basic 6 using the & (ampersand) or plus operator.
  • Level2
    Visual Basic has a few built in string array functions including Split, Join, and Filter. This VB tutorial explains how to use them.
  • Level2
    This tutorial explains all the main vb6 string functions that allow you to manipulate strings including the Len, Mid, Left, Right, UCase, LCase, Instr, InstrRev, String, Space, Replace, StrReverse, LTrim, RTrim, Trim, Asc, Chr, and the ASCII table. This Visual Basic tutorial should meet all your needs.
  • Level2
    This Visual Basic Tutorial explains how you can format Numbers, Currency, and percents using VB6 Format functions.
  • Level3
    By nesting the VB6 Format function inside of itself we are able to format some pretty amazing strings. Check out this Visual Basic Tutorial to see how.
  • Level3
    The Visual Basic 6 Format function can be used to format some very advanced data. This tutorial explains how to use Multi Formats to do this.
  • Level1
    Custom string formatting can be accomplished in Visual Basic using specific characters recognized by the Format function. This VB6 tutorial explains how.
  • Level1
    This VB6 tutorial explains how you can format dates and times using the Visual Basic format command.
  • Level1
    The VB6 Format function can be used to format numeric, date, time, and string data. This Visual Basic tutorial explains exactly how this can be done using Custom Numeric Formats.
  • Level1
    The VB6 Format function can be used to format numeric, date, time, and string data. This Visual Basic tutorial explains exactly how this can be done using Named Formats.

If you enjoyed this post, subscribe for updates (it's free)