Greetings,

I have encountered a small problems while trying to handle strings that contain
"".    

Below is how I am getting a string from a text widget then I want to find the
length of it to do some formating of the string before I pipe it to the printer:

set tmpString1 [$widget(details) get 1.0 end]

set cr [llength $tmpString1]


This works fine if there are no out of balance "" or there are no "" in the
string.  Otherwise it fails:(  If the "" are in balance it sort of works but
the quotes do not appear when you pipe it to the printer:(


I would like to have the quotes remain in the string so they will print
out, but I need help!


Thoughts welcome!


#
-- 
RJ Ent. -- http://www.rjent.pair.com 

---------------------------------------------------------------------------
To unsubscribe from the Visual Tcl mailing list, please send a message
to [EMAIL PROTECTED] with "unsubscribe vtcl [EMAIL PROTECTED]" in the
message body (where [EMAIL PROTECTED] is your e-mail address).

Reply via email to