Communities for your favorite technologies. Explore all Collectives
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Find centralized, trusted content and collaborate around the technologies you use most.
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
If I had the following code:
set alpha=abcdefghijklmnopqrstuvwxyz
What would I have to do to %alpha% in order to result in only a, b, c, . . ., z?
a, b, c, ..., z
If you want to access it via the position you need
set alpha=abcdefghijklmnopqrstuvwxyz echo %alpha:~0,1% echo %alpha:~1,1% echo %alpha:~2,1% echo %alpha:~25,1%
Explained at set /?
set /?
Add a comment
Required, but never shown
By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.
a, b, c, ..., z?