For Loop - How do I keep the delimiter?

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
Jer
Posts: 177
Joined: 23 Nov 2014 17:13
Location: California USA

For Loop - How do I keep the delimiter?

#1 Post by Jer » 05 Jun 2019 20:17

Keeping the delimiter when parsing a string with a For loop was covered previously; I can't find it
and I forgot how it was done. It was some trick with the asterisk.

From a user entry, remove "+10" from string "509 1116+10 88" leaving "509 1116 88"

The "+" option is valid when browsing the whole dataset of colors, but will be disallowed
when browsing a subset (a color group) and then choosing the option to display larger color samples
of color numbers that will be entered from a set of 9500 named colors.
When browsing all colors, "1116+10" is valid and samples for colors #1116-1126 are included in the samples display.

Thanks.

Post Reply