is there a way to "resize" a lib. string? is there a way to limit/set its size to a value?
umm, and yeh, is there a better algorithm to search for all substrings in a string than this one i've made:
for( int i = 0; i < s.length(); i++ )
for( int j = s.length()-1; j > i; j-- )
sub = s.substr( i, j );
// and then the other way