tmp = InStr(D("Paragraph"), """) 

If tmp > 0 Then   'instr will return the position of the where the string is contained

 

Instr returns a value

 
Thanks,
Corinna Robertson
 
Boston Software Systems
The Essential Tool for Healthcare Integration
866-653-5105 ext. 5 selection 3
508-653-5105
 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Brungardt
Sent: Monday, January 10, 2005 5:25 PM
To: [email protected]
Subject: [Talk] Escape character for quotes

Does anyone know of a way to search for a quotation mark within a string?

I get a compile/syntax error when I try to use the lines listed below.

Thanks!

Paul

 

If InStr(D("Paragraph"), """) Then

Exit Sub

End If

 

 

 

 

Paul Brungardt

Clinical Analyst

HaysMedicalCenter

PH: 785-623-2196

PG: 785-650-5989

 

Reply via email to