Technology · Reference dataset

Microsoft Access String Functions

Microsoft Access string functions with a description, the documented syntax, the return type, a documented example with its result, and a link to the Microsoft documentation.

Download options
Look inside

Every record

All 23 records · Last changed November 15, 2026 · Select a column heading to sort. Select a row to read the whole record.

Preview of Microsoft Access String Functions
Function Description Syntax Return type Example Result Doc url
Asc Returns the ASCII value for the specific character Asc(string) Integer Asc("A") 65 https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/asc-function
Chr Returns the character for the specified ASCII number code Chr(charcode) String Chr(65) A https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/chr-function
Concat with & Adds two or more strings together result = expression1 & expression2 https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/ampersand-operator
CurDir Returns the full path for a specified drive CurDir [ (drive) ] Variant (String) CurDir "C:\WINDOWS\SYSTEM" https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/curdir-function
Format Formats a value with the specified format Format(Expression, [ Format ], [ FirstDayOfWeek ], [ FirstWeekOfYear ]) Variant (String) MyTime = #17:04:23#: Format(MyTime, "h:m:s") "17:4:23" https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/format-function-visual-basic-for-applications
InStr Gets the position of the first occurrence of a string in another InStr([ start ], string1, string2, [ compare ]) Variant (Long) SearchString = "XXpXXpXXPXXP": SearchChar = "P": Instr(SearchString, SearchChar) 9 https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/instr-function
InstrRev Gets the position of the first occurrence of a string in another, from the end of string InstrRev(stringcheck, stringmatch, [ start, [ compare ]]) https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/instrrev-function
LCase Converts a string to lower-case LCase(string) String Uppercase = "Hello World 1234": Lcase(UpperCase) "hello world 1234" https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/lcase-function
Left Extracts a number of characters from a string (starting from left) Left(string, length) Variant (String) AnyString = "Hello World": Left(AnyString, 1) "H" https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/left-function
Len Returns the length of a string Len(string | varname) Long MyString = "Hello World": Len(MyString) 11 https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/len-function
LTrim Removes leading spaces from a string LTrim(string) Variant (String) https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/ltrim-rtrim-and-trim-functions
Mid Extracts some characters from a string (starting at any position) Mid(string, start, [ length ]) Variant (String) MyString = "Mid Function Demo": Mid(MyString, 1, 3) "Mid" https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/mid-function
Replace Replaces a substring within a string, with another substring, a specified number of times Replace(expression, find, replace, [ start, [ count, [ compare ]]]) String https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/replace-function
Right Extracts a number of characters from a string (starting from right) Right(string, length) Variant (String) AnyString = "Hello World": Right(AnyString, 1) "d" https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/right-function
RTrim Removes trailing spaces from a string RTrim(string) Variant (String) https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/ltrim-rtrim-and-trim-functions
Space Returns a string of the specified number of space characters Space(number) Variant (String) https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/space-function
Split Splits a string into an array of substrings Split(expression, [ delimiter, [ limit, [ compare ]]]) https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/split-function
Str Returns a number as string Str(number) Variant (String) Str(459) " 459" https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/str-function
StrComp Compares two strings StrComp(string1, string2, [ compare ]) Variant (Integer) MyStr1 = "ABCD": MyStr2 = "abcd": StrComp(MyStr1, MyStr2, 1) 0 https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/strcomp-function
StrConv Returns a converted string StrConv(string, conversion, [ LCID ]) Variant (String) https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/strconv-function
StrReverse Reverses a string and returns the result StrReverse(expression) String https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/strreverse-function
Trim Removes both leading and trailing spaces from a string Trim(string) Variant (String) https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/ltrim-rtrim-and-trim-functions
UCase Converts a string to upper-case UCase(string) Variant (String) LowerCase = "Hello World 1234": UCase(LowerCase) "HELLO WORLD 1234" https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/ucase-function

Open this data in a free tool: CSV to JSON · JSON formatter · SQL INSERT generator · CSV to XML

CSV / JSON / XML

Put this data to work.

All 23 records are available without a pass, within the free request limits.

  • CSV for spreadsheets and lookup tables
  • JSON for apps and data analysis
  • XML for imports and integrations
Choose your file

Lost your key?

Commercial use is allowed, free or paid.

Downloaded a CSV? Convert CSV to JSON, generate SQL inserts, remove duplicate lines, or sort a list with the free tools.

Scope and sources

Last checked against sources: October 15, 2026.

Last changed: November 15, 2026. This is when we last changed the data or its description. It doesn’t mean the data runs up to that date.

Microsoft Access String Functions has 23 records and 7 fields: Function, Description, Syntax, Return type, Example, Result, Doc url.

A complete download includes all 23 records currently held in this dataset. Check the description and sources to decide whether its scope fits your project.

Use this dataset through the API
GET https://mysafeinfo.com/api/data/msaccessstringfunctions

Choose a format, sort, or request fewer rows. A pass key gives access to the complete dataset. See the examples and parameters.

More in Technology

Git Commands HTML Colors Microsoft Access Data Types MySQL Data Types Operating Systems Programming Languages

Download a category with your pass