类似于以下这种截取文档后缀名的表达式:
${doc.path?substring(${doc.path?last_index_of('.')})}
自问自答,果然还是要自己寻找答案啊!
${doc.path?substring(doc.path?last_index_of('.') + 1)}
类似于以下这种截取文档后缀名的表达式:
${doc.path?substring(${doc.path?last_index_of('.')})}
自问自答,果然还是要自己寻找答案啊!
${doc.path?substring(doc.path?last_index_of('.') + 1)}