We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

Converting Between Strings and Other Data Types in Visual Basic

This section describes how to convert strings into other data types.

How to: Convert an Array of Bytes into a String in Visual Basic

How to convert the bytes from a byte array into a string.

How to: Convert Strings into an Array of Bytes in Visual Basic

How to convert a string into an array of bytes.

How to: Create a String from An Array of Char Values (Visual Basic)

How to create the string "abcd" from individual characters.

How to: Convert Hexadecimal Strings to Numbers (Visual Basic)

How to convert a hexadecimal string into an integer.

Show: