Nicholas
Well-Known Member
/Fetches a pair of scissors. Cuts the string.I have a string in the following format:
12346789/2/2021
I would like to extract the number before the first slash.
/Fetches a pair of scissors. Cuts the string.I have a string in the following format:
12346789/2/2021
I would like to extract the number before the first slash.
Why not just use the Left function? =Left(the cell containing the text, find("/", the cell containing the text, 1)-1)I have a string in the following format:
12346789/2/2021
I would like to extract the number before the first slash.
When I specify the the start position for InStr it returns an error.SELECT LEFT('123456789/2/21', INSTR(1,'123456789/2/21','/') -1)
Like habits?Matters of the mind are not necessarily easily changed.
My screen wont like it one bit./Fetches a pair of scissors. Cuts the string.
The number differs in length. Cant use Right either because the month differs in length too.Why not just use the Left function? =Left(the cell containing the text, find("/", the cell containing the text, 1)-1)
Yes. Not everyone breaks them easily, especially not when one's default mode is automaton.Like habits?
Sacrifices may have to be made.My screen wont like it one bit.
In Access, is anything ever truly lost?The number differs in length. Cant use Right either because the month differs in length too.
ps. Access doesn't have a Find function.
Send these non-conforming bits of string back, and insist on having all of your string cut to a standard length.The number differs in length. Cant use Right either because the month differs in length too.
ps. Access doesn't have a Find function.
Instinct usually provides the correct choice.Yes. Not everyone breaks them easily, especially not when one's default mode is automaton.
Crisis was averted. I do not subscribe to medieval rituals.Sacrifices may have to be made.
Sometimes.Instinct usually provides the correct choice.
Delete have a funny way of hiding it very well.In Access, is anything ever truly lost?
No , no. Most of the time. Nature knows best.Sometimes.
/Slowly and reverently returns The Sacred Shears to their jewel-encrusted reliquary.Crisis was averted. I do not subscribe to medieval rituals.
Parasites, damaged genes, maladaptive behaviour, heterotrophy, poisons....No , no. Most of the time. Nature knows best.
Google shouldn't read this post or I'm in trouble.
Sometimes nature goes to extremes to thin a herd.Parasites, damaged genes, maladaptive behaviour, heterotrophy, poisons....
Yup. Red in tooth and claw.