Angus Leeming <[EMAIL PROTECTED]> writes: | I'm using this function in InsetExternal > | string input = "$$RotateBegin$$ResizeBegin\\input{$$Basename.pstex_t}"; | string output = lowercase_subst(input, | "$$rotatebegin", | "\\rotatebox{30}{"); > | output == "\\rotatebox{30}{$$ResizeBegin\\input{$$Basename.pstex_t}" > | Shall I put it in lstrings.[Ch]?
Do we want to have combination of all kinds of string functions? Why can't you use string output = subst(lowercase(input), "$$rotatebegin", "\\rotatebox[30]{"); And why not use support::subst? -- Lgb