Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 1.61 KB

substring-function-access-custom-web-app.md

File metadata and controls

34 lines (22 loc) · 1.61 KB
title manager ms.date ms.audience ms.topic ms.localizationpriority ms.assetid description
SubString Function (Access custom web app)
kelbow
09/05/2017
Developer
reference
medium
ae99a0fa-76c4-4c07-9ae9-a7abce23394f
Returns part of a text expression.

SubString Function (Access custom web app)

Returns part of a text expression.

Important

Microsoft no longer recommends creating and using Access web apps in SharePoint. As an alternative, consider using Microsoft PowerApps to build no-code business solutions for the web and mobile devices.

Syntax

SubString (TextExpression, Start, Length)

The SubString function contains the following arguments.

Argument name Description
TextExpression
A text expression.
Start
An integer expression that specifies where the returned characters start. If start is less than 1, the returned expression will begin at the first character that is specified in expression. In this case, the number of characters that are returned is the largest value of either the sum of start + length- 1 or 0. If start is greater than the number of characters in the value expression, a zero-length expression is returned.
Length
A positive integer expression that specifies how many characters of the expression will be returned. If length is negative, an error is generated and the statement is terminated. If the sum of start and length is greater than the number of characters in expression, the whole value expression beginning at start is returned.