AnsweredAssumed Answered

Substring function not working

Question asked by cccombes3 on Aug 9, 2016
Latest reply on Aug 10, 2016 by cccombes3

I am trying to strip the file extension off a document name.  Here's my "Build String":

fn-Substring({TextStart}{WorkflowVariable:vTextTitle}{TextEnd},1,fn-Length({TextStart}{WorkflowVariable:vTextTitle}{TextEnd})-5)

 

And here's the result:

fn-Substring(ED10-02 Potential for Violence.docx,1,35-5)

 

What am I doing wrong?  Thanks.

Outcomes