Both solution worked. :-) Since declaring an extra space working fine then there is no point to add any extra load by another loop.
Both solution worked. :-) Since declaring an extra space working fine then there is no point to add any extra load by another loop.