Siebel VB Language Reference > Quick Reference: VB Statements and Functions >

VB Strings: String Functions


The following functions and statements are for string manipulation.

Function or Statement
Purpose
For More Information

GetFieldValue

Returns a substring from a delimited source string

GetFieldValue Method

Hex

Returns the hexadecimal representation of a number, as a string

Hex Function

InStr

Returns the position of one string within another

InStr Function

LCase

Converts a string to lower case

LCase Function

Left

Returns the left portion of a string

Left Function

Len

Returns the length of a string or size of a variable

Len Function

Like Operator

Compares a string against a pattern

Like Operator

LTrim

Removes leading spaces from a string

LTrim Function

Mid Function

Returns a portion of a string

Mid Function

Mid Statement

Replaces a portion of a string with another string

Mid Statement

Oct

Returns the octal representation of a number, as a string

Oct Function

Right

Returns the right portion of a string

Right Function

RTrim

Removes trailing spaces from a string

RTrim Function

SetField

Replaces a substring within a delimited target string

SetFieldValue Method

Space

Returns a string of spaces

Space Function

Str

Returns the string representation of a number

Str Function

StrComp

Compares two strings

StrComp Function

String

Returns a string consisting of a repeated character

String Function

Trim

Removes leading and trailing spaces from a string

Trim Function

UCase

Converts a string to upper case

UCase Function

Siebel VB Language Reference