Share via


Strings Module (Visual Basic) 

The Strings module contains procedures used to perform string operations.

Remarks

This module supports the Visual Basic language keywords and run-time library members that manipulate strings.

Members

Asc

AscW

Chr

ChrW

Filter

Format

FormatCurrency

FormatDateTime

FormatNumber

FormatPercent

GetChar

InStr

InStrRev

Join

LCase

Left

Len

LSet

LTrim

Mid

Replace

Right

RSet

RTrim

Space

Split

StrComp

StrConv

StrDup

StrReverse

Trim

UCase

Example

The following example demonstrates how to split a string at its spaces.

Dim TestString As String = "Look at these!"
' Returns an array containing "Look", "at", and "these!".
Dim TestArray() As String = Split(TestString)

See Also

Reference

String Manipulation Summary
Keywords and Members by Task
Visual Basic Language Keywords
Visual Basic Run-Time Library Members
Keywords Compared in Different Languages