Tuesday, January 20, 2009

backtick for dollar sign

to escape the dollar sign using a backtick

PS> $a = "hello"
PS> $b = "`$a there"
PS> $b

$a there

No comments:

Post a Comment