Log in

View Full Version : Solved: String Manipulation



bopo
01-11-2008, 02:29 AM
Hi

Right I have a varible which stores a date (dd/mm/yyyy) as a string, what I want to do is extract the (mm) from the date and store it in another varible. I have looked at some Access string manipulation functions but I have only found ones that measure the length of the text.
If possible, I would like a function which allows me to specify a start and stop point(as I only want mm), but anything that will work is fine :thumb

bopo
01-11-2008, 02:56 AM
Figured out a workaround

DarkSprout
01-11-2008, 03:01 AM
Or ...

'// Will Return Numeric Month Value
nMonth = Month(CDate(strDateString))