External Interfaces |
Description of Function pb_keyfilter
The pb_keyfilter
function takes an argument key
, which is a name used as a key in the hash table, and either filters it for storage or unfilters it for display. The filter, which replaces each space in the key with an underscore (_
), makes the key usable with the methods of java.util.Properties
.
function out = pb_keyfilter(key) if ~isempty(findstr(key,' ')) out = strrep(key,' ','_'); else out = strrep(key,'_',' '); end;
Description of Function pb_display | Running the phonebook Program |
© 1994-2005 The MathWorks, Inc.