Truncate long variable values when searching.