I was just making a PDFGenerator for my cross platform Phonegap app.
In the report there are fields like Patient name, Patient number, etc. So I thought it'll be a good idea to store these Patient name, Patient number, etc. in variables and change them for every different person and individual.
I don't know how to print variables in between text. Below is my statement for writing a line of text in between which a variable's text value has to be printed out:
loremipsum ='Ambulatory Blood Pressure Report\nPatient name: <heregoesthevalueofpatientname>'
Please let me know.