vbalearner11
New Member
- Joined
- Jan 19, 2018
- Messages
- 18
What does a val(len(filename)) does if file name "1. projects" and "Projects"
WIll be waiting for your response.
WIll be waiting for your response.
Val will return the leading number from a text string, so for your two examples, it would return 1 for the first one and 0 for the second one. There is one caution about using Val if the format of your text strings are not well controlled... Val will make a number if it can, so for example...What does a val(len(filename)) does if file name "1. projects" and "Projects"
WIll be waiting for your response.
Wouldnt that just produce the length of the string Rick?
Wouldn't what "just produce the length of the string"?
I completely overlooked the Len function call in the OP's original question.This: val(len(filename))