UPDATE: THE PROBLEM IS SOLVED. :)
I want to trim a variable value in windows command prompt.
I used--
set str=sourav echo %str:~0,3%
as mentioned on an online tutorial.
output-- sou
Can someone explain how this works? I mean how the colon and ~ are working here?