From File Process -- In the Date Parsing section is it possible to use a negative number as the Start Index?
CompletedThere are scenarios where the date string is near the end of the filename just before the file extension and the preceding characters are inconsistent. In Python there is the option to use a negative number in the index to start from the end of the string (i.e. 'string' with -1 index yields 'g'). In the From File process is it possible to use this negative index?
-
Official comment
No. It is not possible Syntasa uses java based slicing which does not allow using a negative index. In the scenario where the preceding characters fluctuate we recommend using the Regex option to parse the date.
Comment actions
Please sign in to leave a comment.
Comments
1 comment