[docs] [issue24243] behavior for finding an empty string is inconsistent with documentation