Microsoft Access Function Library: Ltrim()

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

Previous topic - Next topic

bbasujon

Function: Ltrim()

Purpose: The Ltrim() function takes a string as input, removes any leading spaces, and returns the result as output.

Usage: Ltrim(string)

Returns: Input string excluding any leading spaces

Example:

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

In this example, Result would be "Testing, Testing, 123 ".
Acquire the knowledge and share the knowledge so that knowing,learning then sharing - all are the collection