  Quoth the DCL, 'Nevermore!'? (Quoting) 
 The Question is:
 
Using DCL, how do I locate a quote in a string?
 
I've tried the following...
    x=f$locate('"',line)
    x=f$locate(""",line)
 
I'm writing a DCL procedure to remove various characters, and I need to remove
 quotes
 
Thanks in advance for any help
 
- Maurice
 
 
 The Answer is:
 
  An example follows:
 
    $ target = "this string "" contains a quote"
    $ prefix = f$element(0,"""",target)
    $ offset = f$locate("""",target)
    $ write sys$output "Prefix: &lt;''prefix'&gt;"
    $ write sys$output "Offset: ''offset'"
 
  Also see http://www.openvms.digital.com/openvms/books.html,
  and see the DCL information in the OpenVMS User's Guide.
 
