HP OpenVMS Systemsask the wizard |
The Question is: How can you use F$LOCATE to find a double quote within a record? The Answer is :
Check out $HELP SYMBOL STRING PARAMETER
To use quotation marks in a string, enclose the entire string in
quotation marks and use a double set of quotation marks within the string.
$ create tmp.tmp
aap "noot" mies.
$ open file tmp.tmp
$ read file record
$ write sys$output f$locate ("""", record)
$ close file
|