I mean double quoting to avoid unwanted expansion - for example:
```
PATH_STR="/path/to/foobar/foo"
ITEM_STR="/path/to/f*oo"
echo ${PATH_STR%$ITEM_STR}
echo ${PATH_STR%"$ITEM_STR"}
```
the second one gives the intended result (no pattern expansion of the word).