Swi-cs-pl - A CSharp class library to connect .NET languages with SWI-Prolog
PlString Method (text)
SwiPlCs interfaceSbsSW.SwiPlCsPlTermPlString(String)
A SWI-Prolog string represents a byte-string on the global stack. It's lifetime is the same as for compound terms and other data living on the global stack. Strings are not only a compound representation of text that is garbage-collected, but as they can contain 0-bytes, they can be used to contain arbitrary C-data structures.
Declaration Syntax
C#Visual BasicVisual C++F#
public static PlTerm PlString(
	string text
)
Public Shared Function PlString ( 
	text As String
) As PlTerm
public:
static PlTerm PlString(
	String^ text
)
static member PlString : 
        text : string -> PlTerm 
Parameters
text (String)
the string
Return Value
PlTerm
a new PlTerm

Assembly: SwiPlCs (Module: SwiPlCs.dll) Version: 1.1.60601.0 (1.1.60601.0)