Template:Pos

Wrapper for the string function #pos: that returns an error value (blank by default) if the search text exceeds the maximum length.

Usage
search text
 * case
 * case-sensitive (default false)


 * error
 * result if the search text exceeds the maximum length (default blank)