Hi Experts,
I need to have a variable with value initialised to it.The value will possess a hash character with it.
ex: var=reports#2
so how I am suppose to do this?
Hi Experts,
I need to have a variable with value initialised to it.The value will possess a hash character with it.
ex: var=reports#2
so how I am suppose to do this?
Just like that. What's the problem?
The # character is only special when it begins an unquoted word. In that case, use quotes:
var="reports #2"