Slipt TaxID

I try this code>
vendor_string.Split(Environment.NewLine.ToCharArray)(0).Substring("TaxID: ".Length)

try this one

text.Substring(text.IndexOf("TaxID: ")+"TaxID: ".Length).Split(Environment.NewLine.ToCharArray)(0)

1 Like

Try:
vendor_string.substring(vendor_string.IndexOf("TaxID: ")+("TaxID: ").length).split(Environment.NewLine.TocharArray)(0)

1 Like

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