Subst(tbl_file, str_key);
tbl_file
str_key
Leading and trailing spaces are removed from the two strings on each line in the table. Strings that contain spaces must be enclosed in double quotes.Returns the first value (value column 0) of the entry specified by str_key. If the value does not exist, an empty string is returned.In this example, the following substitution table (author.tbl) is used.
//!CodePage UTF8!//!multicolumn!agatha christie 1890alfred hitchcock 1899$surName = Subst("../data/tables/author.tbl","agatha");A substitution table is kept in memory until the script function EraseSubst is called for that table.
OpenText StreamServe 5.6 | Updated: 2013-03-01 |