Parse Strings

runswithsizzors

Well-known member
Joined
May 11, 2005
Messages
70
Location
Northern Michigan
Programming Experience
5-10
I have a list of customer and I am using a view from a database to bring that list over. Using linq I am filtering a datagrid via criteria. But one of them is last 4 SSN numbers.

I have a system where I can manipulate the data before it gets bound to the grid, so during that time is where I want to parse the SSN number. Anybody have a good way to do that.

I have a property call SSN

on the set of the property I have the value (from the view) set to the column.

The SSN in the database is going to be either xxx-xx-xxxx, or xxxxxxxxx
So I just need a way to get those 4 last numbers.

Thanks to all that post!
 
Back
Top