in reply to Best way to put : between fields in a string

Uhmmm, you're not giving the exact rules of the transformation, so I feel authorized to suggest Knuth's solution:
print "A3:xyz45:M98:AB7:Z9"; # :)
Update: added link.

Flavio (perl -e "print(scalar(reverse('ti.xittelop@oivalf')))")

Don't fool yourself.