[EMAIL PROTECTED] wrote:
> Can't figure out how to get
> 
> "field like '%s'" % ('test',)
> 
> To generate "field like '%test%'

"field like '%%%s%%'" % ('test',)

(the literal %'s need to be escaped by doubling them).

-- 
pkm ~ http://paulmcnett.com


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]

Reply via email to