mgroves/SqlProfilerQueryCleaner — pull request #2 by ruffin-- (2014-08-01 15:40:09+00:00)
Title: Fixing bug where last nameAndType had extra single quote.

So in a string that contains:
N'@p0 bit,@p1 bit,@p2 bit,@p3 bit,@p4 int,@p5 uniqueidentifier',@p0=1...

You'd end up with:
`...`
`DECLARE @p5 uniqueidentifier'='C2BB4B50-4F0F-4FAC-844E-9F3B00F8D8E9';`
`____________________________^`