split_unquoted/4¶
split_unquoted(+ Line,+ Separators,- Split)*
Unify Words with a set of strings obtained from Line by using the character codes in Separators as separators, but treat text wi thin double quotes as a single unit. As an example, consider:
?- split( "Hello * I \"am free\"" , " *" ,S).
S = [ "Hello" , "I" , "am free" ] ?
no