REPLACE_RULE_LIST

back to main page

String replacement engine declarations

Find string, continue replacement with text after found string

 

Description

Syntax

Find string, continue replacement with text after found string

find_string(STRING SEARCH_FOR,REPLACE_ACTION,REPLACE_RULE_LIST);

Check if string doesn't exist

not_found(STRING SEARCH_FOR,REPLACE_ACTION,REPLACE_RULE_LIST);

Find any string from the list, continue with text after found string

find_any(SLIST SEARCH_FOR,REPLACE_ACTION,REPLACE_RULE_LIST);

Find string and insert before found string. Continue with text after found string

insert_string_before(STRING SEARCH_FOR,STRING INSERT,REPLACE_ACTION,REPLACE_RULE_LIST);

Find string, insert after found string, continue with text after inserted string

insert_string_after(STRING SEARCH_FOR,STRING INSERT,REPLACE_ACTION,REPLACE_RULE_LIST);

Find any string from the list, replace with given string, continue with text after found string

replace_any(SLIST SEARCH_LIST,STRING REPLACE_BY,REPLACE_ACTION,REPLACE_RULE_LIST);

Find string and replace string, continue with text after found string

replace_string(STRING SEARCH_FOR,STRING REPLACE_BY,REPLACE_ACTION,REPLACE_RULE_LIST)

REPLACE_RULE_LIST = REPLACE_RULE*

REPLACE_ACTION = stop;continue

See sample: 159

Copyright 2002 EDMGROUP (Australia)