Q&A about the site for professional and independent game developers
select '''' -- Result: ' select len('''') -- Result: 1 SELECT '''' + '''' -- Result: '' SELECT LEN('''' + '''') -- Result: 2 SELECT '''''' + '''' -- Result: ''' SELECT LEN('''''' + '''') -- Result: 3 SELECT 'a' + '''' + '''' -- Result: a'' SELECT '''' + 'a' + '''' -- Result: 'a' SELECT LEN('''' + 'a' + '''') -- Result: 3 SELECT '' + '''' -- Result: ' SELECT '''' + '' -- Result: ' SELECT LEN('''' + '') -- Result: 1