1. Technology
You can opt-out at any time. Please refer to our privacy policy for contact information.

Discuss in my forum

Microsoft Access Function Library: Len()


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


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

In this example, Result would be 19, the length of MyString.

©2014 About.com. All rights reserved.