Template:Pos/sandbox

Wrapper for the string function #pos: that returns an error value 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)