STUFF command

From: <grille11_at_yahoo.com>
Date: Wed, 31 Mar 2004 12:43:27 +0200
Message-ID: <c4e6ad$k1n$1_at_reader1.imaginet.fr>



Hello,

[Quoted] [Quoted] I am trying to find the equivalent of the STUFF command from SQL (deletes a [Quoted] [Quoted] specified length of characters and inserts another set of characters at a specified starting point).
Would someone knows this?
[Quoted] thanks in advance

[Quoted] This example returns a character string created by deleting three characters [Quoted] [Quoted] from the first string (abcdef) starting at position 2 (at b) and inserting the second string at the deletion point.

SELECT STUFF('abcdef', 2, 3, 'ijklmn')
GO



aijklmnef Received on Wed Mar 31 2004 - 12:43:27 CEST

Original text of this message