HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
Extract characters from a string, starting at position 3
The Mid() function extracts some characters from a string (starting at any position).
Mid(string, start, length)
Parameter | Description |
---|---|
string | Required. The string to extract from |
start | Required. The start position |
length | Optional. The number of characters to extract. If omitted, this function returns all characters from the start position |
Works in: | From Access 2000 |
---|
Extract characters from the text in a column (start at position 4, and extract 6 characters):
SELECT Mid(CustomerName, 4, 6) AS ExtractString
FROM Customers;