Hey Team,
I want to remove the first 29 characters of the email and save it in the sharepoint folder as new emails come in.
When I try to use Substring, it throws me this error.
Unable to process template language expressions in action 'Remove_Pretext' inputs at line '1' and column '23468': 'The template language function 'substring' parameters are out of range: 'start index' and 'length' must be non-negative integers and their sum must be no larger than the length of the string. Please see https://aka.ms/logicexpressions#substring for usage details.'.
This is my substring function
substring(variables('Filename'),29,length(variables('Filename')))
It works with 0 as the StartString, but not > 0.

Works fine until removing the pretext part where there is the substring function.