rdsedmundo

sprintf() javascript

Jun 23rd, 2012
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function sprintf(a,b){if(a.match(/%s/gi)){return a.replace(/%s/gi,b)}}
Advertisement
Add Comment
Please, Sign In to add comment