Simplified numerical string handling.