Template:In string/doc

This template wraps the function, and provides the extra option to return an alternative string (including a blank string) when nothing is found.

Usage

 * or
 * or


 * By default, when the target is not found,  is returned.
 * Set anytext to replace that . Also, nomatch &lt;blank> returns blank not 0.


 * Note: outer spaces are not conserved.


 * Using the nomatch option:


 * &rarr;
 * &rarr;

Examples



 * nomatch=xxx


 * nomatch = blank


 * module Examples:

Template data
{	"params": { "1": {},		"2": {},		"3": {},		"4": {},		"source": {}, "target": {}, "start": {}, "plain": {}, "nomatch": {} } }