How do I convert MAC address to formatted MAC address
<p>Input: 009CFAEEB779</p>

<p>Output:00:9C:FA:EE:B7:79</p>

<p>I was searching for the method but didn't find. Is there any method? or I need to loop(map) through it and add the colon.</p>