What's the variable that I can use to get the subdomain name only?

When I create a new subdomain, like school99.xyz.com, I want DotProject to be installed into a database school99_dotproject.

What variable can I use…like ${DOM}_dotproject in the Script Installers section of the template to make this happen?

Thanks,
Ken