07-31-2023, 10:00 AM
This is quite late, but interestingly never mentioned yet.
select stuff(x,len(x),1,'')
ie:
take a string x
go to its last character
remove one character
add nothing
select stuff(x,len(x),1,'')
ie:
take a string x
go to its last character
remove one character
add nothing