It would be helpful for my scripts if there were python-line startswith and endswith functions.
Use case example:
$if($and(
$startswith(%album%,The Best of),
$endswith(%album%, %artist%)
),
$set(album,$replace(%album%, %artist%,)))
to convert "The Best of Frank Sinatra" to "The Best of".