Hot answers tagged

6

You could replace '.qgs' by nothing '' in your expression: replace( @project_filename , '.qgs', '') As J.R pointed out, you could also select the whole filename, minus the last 4 characters substr( @project_filename ,1,-4)


Only top voted, non community-wiki answers of a minimum length are eligible