Hi folks,
i've got some string in some sql. i need to find out what the character is, for that string, given a index.
eg.
DECLARE @someString NVARCHAR(MAX) = 'hi folks'
DECLARE @index INT = 4 -- assuming the first index is 1, not 0.
now .. how do i get the character at 4th index slot, which is an 'f', in that example above.
thanks :)