I don’t fully trust data I’m receiving from an outside source via their API. So I’m tossing ‘Trim’ at all the values before commiting them to the database.
Question: Does anyone worry about trimming this sort of data? And if so, is there a shortcut for what I’m doing with 2 steps? (below)
found_enrollment_specialty = enrollment(0).Value("Enrollment Specialty")
found_enrollment_specialty = found_enrollment_specialty.Trim
8 posts - 5 participants