Should be an easy question.
How can I take the variable below and put dashes every five characters...
$code = " db1bba7f228613d6565c5086820eb9b7"
It needs to read like this....
db1bb-a7f22-8613d-6565c-50868-20eb9-b7
It also needs to be converted into all caps. Thanks.