Does sqlite support the sql function \"if\" in the select statement?
for example
select if( length( a ) > 4 , a , \' \') as b from foo >
select if( length( a ) > 4 , a , \' \') as b from foo
You can use case for that:
select case when length(a)>4 then a else ' ' end from foo;