@Robotics wrote:
Hi,
I have a String variable (AddrestPostalCode) which contains a value say : POSTCODE UB1 1PY.
I wanted to split this value further to perform a validation. So i am using
AddrestPostalCode.ToString.Trim.Split(Environment.NewLine.ToArray,StringSplitOptions.RemoveEmptyEntries) for this i am getting Object Reference not set to an instance of an object error.
Posts: 3
Participants: 2