internal void GetDCIComponents(String tcDCI, out String department, out String category, out String item) { department = tcDCI.Substring(0, 10); category = tcDCI.Substring(10, 10); item = tcDCI.Substring(20, 10); }The problem is with the last assignment when I pass item less than 10 characters. What is the best way to "simulate" VFP substring to get up to the length of the item?