Can someone help, this function will convert strings of text to uppercase and add, "0x##," every two spaces.
However, there is an un-needed comma at the end. How do I remove end comma?
Function Convert_To_Hex ($Hex_01)
$Hex = $Hex_01.ToUpper() -Replace '(..)', '0x$1, '
# Output: 0x87, 0xCE, 0xEB,
Thanks In Advanced.