This is still problematic because it's checking for the presence of the ':' character, which is not guaranteed to be there depending on how the string is localized. Is there a reason not to just copy without checking?