Answers for "trimspace in bact file"

0

trimspace in bact file

@echo off 
set str = This string    has    a  lot  of spaces 
echo %str% 

set str=%str:=% 
echo %str%
Posted by: Guest on October-20-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language