substitute function [力] 代用函数 ; 代替者
function substitute model 功能替代模型
Do this by calling the Dojo string utility function substitute.
这通过调用dojo字符串工具函数substitute来完成。
Ideally, in order to reformat each line, AlignAssignments would use the built-in substitute function, and replace everything up to the operator with a printf'd rearrangement of that text.
理想情况下,要重新格式化每一行,AlignAssignments将使用内置的substitute函数,并使用经过printf重新整理后的文本替换运算符之前的所有内容。
Unfortunately, substitute() expects a fixed string as its replacement value, not a function call.
不幸的是,substitute() 要求使用固定的字符串作为它的替代值,而不是一个函数调用。
应用推荐