Template:Split

Usage:

Only the first two arguments are necessary.