MARK$ places double quotes (") before and after a string

Syntax

MARK$(StringExp$)

Arguments

Remarks

  1. In Quaestor quotes (") are used to define strings. Thus:


    A$="A string"

    means that A$ has the value A string
    When you try to add a word between quotes in such a string you have a problem because Quaestor recognises it as beginning and end of a string value. By using MARK$ you can add something with quotes inside the string:

    A$="A " + MARK$("word") + " between quotes in a string"

    Results in A "word" between quotes in a string

  2. MARK$ is also smart to use in combination with the REPLINS$() function, when you want to replace explicit parameter names in a dataset. 
    By searching for MARK$("As") in stead of "As" and replacing it with MARK$("At") in stead of "At", you are sure the parameter As is replaced by At (because these are always between quotes) and not everything in the dataset starting with As such as for instance a text part As the world turns....

Examples

ADDRESS$ = "Qnowledge " + MARK$("Haagsteeg 2") + " Wageningen"

Returns

Qnowledge "Haagsteeg 2" Wageningen


 

Quick links: Functions overview | Attribute overview | Constants overview | Dimensions overview