Help using [ as a string character not a Command Brace 
Author Message
 Help using [ as a string character not a Command Brace

Anyone know how to use [ as a string reference and not a Command enclosure.

Thanks
Phil



Mon, 01 Apr 2002 03:00:00 GMT  
 Help using [ as a string character not a Command Brace
Had problems with direct reply to you - so via newsgroup:

puts "\[one version\]"
puts {[another version]}

and before asking ...

puts {{[also working]}}

Keep going ;-) - Leo

Quote:

> Anyone know how to use [ as a string reference and not a Command enclosure.

> Thanks
> Phil



Tue, 02 Apr 2002 03:00:00 GMT  
 Help using [ as a string character not a Command Brace
Leo,
 "\[" worked perfectly.  Thanks.

Phil


Quote:
> Had problems with direct reply to you - so via newsgroup:

> puts "\[one version\]"
> puts {[another version]}

> and before asking ...

> puts {{[also working]}}

> Keep going ;-) - Leo


> > Anyone know how to use [ as a string reference and not a Command
enclosure.

> > Thanks
> > Phil



Tue, 02 Apr 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Building a string, character-by-character (HELP!)

2. string title() method does not work on Danish characters

3. how to print the first 8 characters of a string only using printf

4. Using string map to replace Special Characters (MS Word)

5. proc problem, and extra characters behind the brace.

6. Brackets in brackets, braces in braces

7. Escaping strings to be used in shell commands?

8. Using tcl string trim command..

9. Brackets in brackets, braces in braces

10. HELP: Tcl command for getting integer value of character

11. Help: character to string

12. HELP! Character string

 

 
Powered by phpBB® Forum Software