|
You're correct, of course. I missed the "right" part of the question.
How about this then:
EVAL NewVariable =
%SUBST(%TRIM(MYVAR):%LEN(%TRIM(MYVAR)) - 9:10)
As long as you always have at least ten non-blank characters, this should
work.
I haven't tested it, though...
Donald R. Fisher, III
Project Manager
The Roomstore Furniture Company
(804) 784-7600 extension 2124
DFisher@roomstoreeast.com
<clip>
That would get 'thisisseve' and not 'characters'.
%SUBST(%TRIM(MYVAR):1:10)
<clip>
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.