Anonymous
public text v1 · immutable $len = strlen($row["Artist"]);
$start = $len - 5;
$test = substr($row["Artist"], $start, $len);
if ($test === ", The") {
$row["Artist"] = substr_replace($row["Artist"], 'The ', 0, 0);
$row["Artist"] = substr_replace($row["Artist"], '', $start + 4, $len + 4);
}