caselessAbbrev >>-caselessAbbrev(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 - caselessAbbrev method "Print"~caselessAbbrev("Pri") -> 1 "PRINT"~caselessAbbrev("Pri") -> 1 "PRINT"~caselessAbbrev("PRI",4) -> 0 "PRINT"~caselessAbbrev("PRY") -> 0 "PRINT"~caselessAbbrev("") -> 1 "PRINT"~caselessAbbrev("",1) -> 0 Note A null string always matches if a length of
String class - caselessAbbrev method say "Enter option:"; parse pull option . select /* keyword1 is to be the default */ when "keyword1"~caselessAbbrev(option) then ... when "keyword2"~caselessAbbrev(option) then ... ... otherwise nop; end; |