| 1. |
Solve : Token replacement/removal within delimited string? |
|
Answer» Is token replacement/removal within a delimited string possible within a batch file? What I was hoping to avoid was having to deconstruct the string and rebuild it every time. Why? This is the kind of task that computers are good at. Quote from: Dias de verano on January 13, 2009, 02:50:43 AM
Because I have to write the code for it to work. half of everything is work.Quote from: BC_Programmer on January 13, 2009, 03:10:53 AM half of everything is work. What's the other half?Quote from: gregory on January 13, 2009, 03:13:43 AM Quote from: BC_Programmer on January 13, 2009, 03:10:53 AMhalf of everything is work. Thinking I would have been so tempted to say "fate".I was thinking of the definition of genius, I think, 1% inspiration, 99% perspiration. why not use set ? easier i think Quote from: devcom on January 13, 2009, 12:51:05 PM why not use set ? easier i think read his question again. the item to be replaced is neither at an ABSOLUTE position nor a KNOWN size, so for would be needed. Quote from: devcom on January 13, 2009, 12:51:05 PM why not use set ? easier i think Give US some example code, then... Here's the original question, to refresh your memory. Read it carefully. Quote Is token replacement/removal within a delimited string possible within a batch file? |
|