News:

SMF - Just Installed!

Main Menu

Microsoft Access Function Library: Len()

Started by bbasujon, August 15, 2012, 05:16:26 PM

Previous topic - Next topic

bbasujon

Function: Len()

Purpose: The Len() function takes a string as input and returns an integer corresponding to the length of the string.

Usage: Len(string)

Returns: Length of the input string

Example:

Dim MyString() As String = {"Testing, Testing, 123"}
Dim Result As Integer = Len(MyString)

In this example, Result would be 19, the length of MyString.
Acquire the knowledge and share the knowledge so that knowing,learning then sharing - all are the collection