Hi all, I'm trying to use substringBefore macro in my live template but it keeps printing empty string. Basically I have a file `something.spec.ts` and I want to get the `something` string. I tried `substringBefore(fileName(), ".")` or just `substringBefore("something.spec.ts", ".")` but it keeps printing an empty string. If I try just `fileName()` it correctly prints the filename, in other words all other macros work as expected except for this one. Can you help me please? Can you at least provide some valid example of this macro?
My WebStorm version: 2018.1.4, May 21, 2018