Utility Functions : List of Utility Functions : stm_replace_word

stm_replace_word

Function type: STRING

Description
Replaces the specified word with a new word within a given string. A word has whitespace before and after it, preventing substitution where there is a partial match for the find_str parameter.
Syntax
stm_replace_word (orig_str, find_str, repl_str, delimiters, format, replace_in_comment, is_identifier)
Arguments
 
Input/Output
Specifies whether to replace the word in commented regions of the action language or user code
Specifies whether find_str is the name of a Statemate element