Replace characters by position in a string.


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

Replace characters by position in a string.


Copy this code and paste it in your HTML
  1. SELECT STUFF('S28-0124-1R01',LEN('S28-0124-1R01')-1,1,'')

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.