Split PDF into individual files Error

I almost have this working and I get this error

This is the code in the assign - extractedPDF.Split(Environment.NewLine.ToArray,StringSplitOptions.RemoveEmptyEntries)

What am I missing? I have another error below this area but one error at a time :slight_smile:

@jeff.shubzda Convert the type of the SplittedOuptut variable type to Array of String, and
try once

thank you…

use following statement (kindly note the array on Environment.NewLine)
extractedPDF.Split({Environment.NewLine},StringSplitOptions.RemoveEmptyEntries)

it will return a array of strings, so change your variable datatype accordingly

Thanks for the help

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.