Anyway, there is no standard column function which does what you want.
You may implement such a function, though. It would probably look something like the following pseudo-code:
Code:
value = (SELECT MAX(name) FROM t1);
nonmatches = 0;
length = 0;
while (nonmatches = 0)
length = length+1;
prefix = SUBSTR(value,1,length);
nonmatches = (SELECT COUNT(*) FROM t1 WHERE SUBSTR(name,1,length) <> prefix)
endwhile;
return SUBSTR(value,1,length-1);