str2slist/3

Converts a string to a list, and vice-versa.

str2slist(string,char,slist) -(i,i,o),(o,i,i)

Compatibility: Exclusively in G.I.S. Prolog.

Remarks:

1) The 2nd argument is a Character which must be bound, and it acts as a separator between the substrings of arg.1. E.g. if arg2 is a comma, then arg.1 can be a comma-delimited string, and arg.3 will then become a list of all the (sub-)strings inside arg.1, separated by commas.

This predicate has been implemented in 32-bit Assembly Language.