The easy way to code-golf ascii art!

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

DECLARE @h varchar(max)='qwertyuiopasdfg'
    DECLARE @ varchar(max)='
    ***** * ***
    *   * * *
    *   * * *
    ***** * ***'
    
    WHILE @ like'%*'SELECT @=left(@,charindex('*',@)-1)+left(@h+'.',1)+stuff(@,1,charindex('*',@),''),@h=substring(@h,2,999)PRINT
    concat(@,'
    '+@h)

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results