CIGAL Reference Manual, Chapter 3 (Functions): substitute