String manipulation - TechRepublic
Question
April 7, 2009 at 11:07 AM
mharris

String manipulation

by mharris . Updated 17 years, 3 months ago

In Access, I have a query that brings up the following: Description
13336-001-00/18811-10368/KGH

The first 12 numbers represent part numbers. I would like to have a query that will search a string until it gets to the first “/”, and then gives me all the characters to the left.

For this example, I can just use a Left$ function, but sometimes that field will vary in size. The constant being the “/” in the string.

This discussion is locked

All Comments