Re: Real simple question about strings...
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Real simple question about strings...
- From: KHMan <keinhong@...>
- Date: 2010年6月16日 10:32:28 +0800
kenk@heroesent.com wrote:
Ya, I was trying that... but how do I insert a variable in between
the [[ ]] ... everything inside that becomes a literal string. I know I
could write out to file [[ and then the file path and then ]] ...But how
do you get, for instance...
filePath = "C:\\apples\\boo\\test.boo";
copyFile = [[ filePath ]];
So that copyFile becomes: [["C:\apples\boo\test.boo"]]
Read string.format very carefully...
--
Cheers,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia