I always used the following syntax to be sure that variable were expanded in a string:

`"my string with a $($variable)"`

I recently ran into the following syntax:

`"my string with a ${variable}"`

Are they equivalent? Any difference?