E.g. my project is named XXXX_YY_PRZZZ
. Is there a way for me to get only the ZZZ
part for my label field? Maybe with @project_basename
or some variables like that?
2 Answers
Use this expression:
substr( @project_basename, strpos( @project_basename, '_PR' ) + 3 )
I assume string _PR
exists in the project name.
replace
under string expressions