I have several datalines like so:
v1.4.00.29
- SP.CNG v1.0.2.2
Update Kit - Secure USB Token v1.1.1.1
- HI_3997 v1.0.3997.1
- HI_4009 v1.0.4009.1
- HI_3585 v1.0.3585
Update Kit - RM4 v1.0.1202.4
Update Kit - DN Series v1.0.4.1
Is there some easy way to check if the first character is a -
and then delete this PLUS the space next to them so that the line is aligned to the other lines.
My first try was just to delete the -
and spaces
resulting in a not looking result as ALL -
are replaced:
set tmp=!tmp:-=!
set tmp=!tmp: =!