Probably a dumb question.
I read that Left$ processes faster than Left. In that case, why/when would you ever need to use the Left version?
Probably a dumb question.
I read that Left$ processes faster than Left. In that case, why/when would you ever need to use the Left version?
*******************************************************
HELP WANTED! (Links to Forum threads)
Trying to create reusable code for Custom Events at Workbook (not Application) level
*******************************************************
Oh wait. NULLs.
Anything else?
Hi,
The $ means you are dealing with a string and without means it is a variant data type. See:
http://bytes.com/topic/access/answer...-left-function
One test is worth a thousand opinions.
Click the * Add Reputation below to say thanks.
Thanks Marvin.
I should have made clear in the OP that I already know what the difference between the two is.
I was asking why/when would you ever NEED to use Left instead of Left$ (Assuming you have no NULLs that is)
Or to put it another way round - If I ensured that the input will never be a NULL, and because Left$ is faster than Left, then I should always use Left$ instead of Left? Yes/No?
Last edited by mc84excel; 11-18-2014 at 05:37 PM. Reason: clarify
Left only has 4 characters, Left$ has 5, and you need to hold down shift to get the last one.
If posting code please use code tags, see here.
mc84excel
That was kind of meant to be a joke/humorous aside type of thing.
Sorry if I offended you in any way.
One is cheaper than the other ‼
Sorry, bad joke !
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks