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.

  • 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.
  • 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.
  • Visual Basic has a few built in string array functions including Split, Join, and Filter. This VB tutorial explains how to use them.
  • 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.
  • This Visual Basic Tutorial explains how you can format Numbers, Currency, and percents using VB6 Format functions.
  • 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.
  • 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.
  • Custom string formatting can be accomplished in Visual Basic using specific characters recognized by the Format function. This VB6 tutorial explains how.
  • This VB6 tutorial explains how you can format dates and times using the Visual Basic format command.
  • 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.
  • 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.