String Right function


/ Published in: Rails
Save to your folder(s)

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


Copy this code and paste it in your HTML
  1. social_security.last[4]

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.