Augment the specification given in with operations such as the following: • cha

Augment the specification given in with operations such as the following: • change ( f , s1, s=) : substitutes all occurrences of sl in f with s2; • find ( f , s) : returns a Boolean value that states whether s is in f and, if it is, returns the position of the first character of s in f. (There are a couple of trouble spots in this informal definition; can you spot them?)

You may also like