I offered an assign tool to get the pdfname = pdfPath.Substring(pdfPath.IndexOf(“전표”)+3, pdfpath.Length-7-36)
I keep gaining the error : Assign: Index and length need to refer come a ar within the string.Parameter name: length and Assign: Index and also length should refer to a ar within the string.Parameter name: length
I have acquired the pdfPath from prior to which gets me the paper path of the PDF no problem.
Any idea what the problem is?
You are trying to read the data i m sorry is much more than the size of the string.Please inspect the pdfpath length.Consider the complying with example:
strInput = “Hello”strOutput = strInput.SubString(1,2) //first parameter is starting position and 2nd parameter is number of characters you desire to extract
strOutput consists of el