abbrev >>-abbrev(info-+---------+-)----------------------------------->< +-,length-+ Returns If you specify [length] , it must be a positive whole number or zero. The default for [length] is the number of characters in [info] . String class - abbrev method "Print"~abbrev("Pri") -> 1 "PRINT"~abbrev("Pri") -> 0 "PRINT"~abbrev("PRI",4) -> 0 "PRINT"~abbrev("PRY") -> 0 "PRINT"~abbrev("") -> 1 "PRINT"~abbrev("",1) -> 0 Note A null string always matches if a length of
String class - abbrev method say "Enter option:"; pull option . select /* keyword1 is to be the default */ when "keyword1"~abbrev(option) then ... when "keyword2"~abbrev(option) then ... ... otherwise nop; end; |