Concatenating blanks to strings????

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
It seems to me that I was able to do this in the past, but I absolutely don't seem to be able to do it now. All I want to do is to add a blank to an existing string, ("Set" variable), front end, back end, even in the middle, I don't care because I can just adjust the surrounding code to fit. Here are some examples (from my last few attempts) that can be done right at the command line:

[Z:\]Set ABC="ABC"
[Z:\]Set Blank=" "
[Z:\]Echo "%@UnQuote[%ABC]%@UnQuote[%Blank]"
[Z:\]Echo "%@UnQuote[%Blank]%@UnQuote[%ABC]"
[Z:\]Echo "%@UnQuote[%ABC]%@UnQuote[%Blank]%@UnQuote[%ABC]"

Any suggestions?

TCC 10.00.57 Windows Vista [Version 6.0.6001]
On Sun, 15 Mar 2009 17:56:55 -0500, "[email protected]"
<> wrote:

|All I want to do is to add a blank to an existing string,

Experiment with ^s and ` `.
- Vince
Thanks for getting back to me so quickly, Vince. However (and you didn't see it either) it's all due to a misunderstanding/screwup on my part. What I didn't realize (maybe due to my "exposure" to so many other languages) is that "@Replace" doesn't actually do the replacement(s) "in place", but instead returns the string with the indicated replacement(s) having been done! (DUH! :o) Anyway, sorry to have wasted your (and my) time!!!

- Dan