Availability:built-in
open_string(+String, 
-Stream)True when Stream is an input stream that accesses the content 
of
String. String can be any text representation, 
i.e., string, atom, list of codes or list of characters. The created Stream 
has the reposition property (see stream_property/2). 
Note that the internal encoding of the data is either ISO Latin 1 or 
UTF-8.