Template:Chop

Usage:

Will remove everything from string, beginning at target to the end of the string.