Product and version
FileMaker Pro 16.0.4
OS and version
On Edit > Find/Replace , nothing found then the function result become empty.
According to document (FileMaker Pro 16 Help) it should return 0 since there is no selection.
It looks document (help) issue. Empty is useful for different result when field is active but selected text length is 0.