just for added information, there's also $deltok(string, 1--2, 46) which is subtly different from the above in that it will return $null if there is only 1 single period delimited token in the string. that may or may not be desirable if even relevant in this case!