Welcome to forums, hope you will enjoy learning here. It is called Parameter expansion, when you do a man bash you could see the following.
Here is an example of same too.
So let's say we have following string into a variable.
MYSTRING="Be liberal in what you accept, and conservative in what you send"
So here is the use of # and ## .
${MYSTRING#* } Be liberal in what you accept, and conservative in what you send
${MYSTRING##* } Be liberal in what you accept, and conservative in what you send
As you could see above(selected text will not be shown) # is removing the text till very first space and on other hand ## is printing the text till very last(maximum) match of space. I hope this helps you.