Posted By

edwinjanmoss on 10/18/07


Tagged


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

shovanjoshi
webstic


String Right function


 / Published in: Rails
 

left most 4 digits of social. In Ruby: socialsecurity[-4,4] In Rails: socialsecurity.last[4]

  1. social_security.last[4]

Report this snippet  

You need to login to post a comment.