im pulling in some data from excel into a DT. i need to simply split one column. i need to assign the right 9 characters. im struggling. any advice would be appreciated

im pulling in some data from excel into a DT. i need to simply split one column. i need to assign the right 9 characters. im struggling. any advice would be appreciated

row("YourColumnName").ToString().Substring(Math.Max(0, row("YourColumnName").ToString().Length - 9))
Regards,
This is exactly it. thank you. I tried for 2 hours. i appreciate the education.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.