single-quoted string conversion to triple-quoted string 
Author Message
 single-quoted string conversion to triple-quoted string

Is there a way to convert a single quoted string to a triple quoted string?

For example, given:

''' abc %d xyz '''

the result of ''' abc %d xyz''' % 10 is:

' abc 10 xyz '

which is a single quoted string.

I would like to convert the result to a triple-quoted string.

Wed, 22 Sep 2004 08:05:58 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Matching triple-quoted strings today

2. How can triple quoted string avoid indentation?

3. emacs python-mode quote in triple quote font-lock problem

4. parsing lines with quoted strings as single fields

5. inserting single quotes inside a smallTalk string

6. using gsub on a string containing single quotes

7. Repost:Single quotes in string

8. Single quotes in string

9. Making strings with single/double quotes safe for MySQL Insert/Update

10. Putting single quotes inside Prolog strings

11. MySQLdb and strings with quotes / long strings

12. replace single quote to double quote with an example


Powered by phpBB® Forum Software