You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 10
Next »
MARK$ places double quotes (") before and after a string
Syntax
MARK$(StringExp$)
Arguments
- StringExp$ is a string expression
In Quaestor quotes (") are used to define strings. Thus:
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:
Results in A "word" between quotes in a string
- 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
Returns
Quick links: Function overviewAttribute overviewConstants overviewDimensions overview