Ok guys I think this is a pretty simple one, I just don’t know the answer myself. I have this query which is as follows
var qry ="/tblEACNumbers?$filter = EACNumber eq " + x ;
The x is a string which is constantly chaning but the syntax requires the string which the query is using to filter must be in ‘ ‘ so this would work
var qry ="/tblEACNumbers?$filter = EACNumber eq 'Hello' ";
I understand I can change the string to get the first ‘ in by doing this
var qry ="/tblEACNumbers?$filter = EACNumber eq '" + x ;
But I don’t know how to get the final ‘ after I have declared the + x string.
Any suggestions?
or