I have a massive array of string characters that I would like to insert a carriage return every 10 characters.
For example, if my string array in Powershell is:
all_str_data = 02492340AF839e952DAB034B3D6DFCD029485DACCAEEFF...
I'd like the output to be:
all_str_data =
02492340AF
839e952DAB
034B3D6DFC
D029485DAC
CAEEFF...
I'm eventually writing this to a file that I can use for a later step. Can someone help me here?
I'm pretty much a novice when it comes to Powershell. I haven't tried much yet and would love any additional help.