Can I do this in prolog string to [s,t,r,i,n,g]
From: Hi (Hi_at_where.com)
Date: 01/30/04
- Next message: Hi: "Re: swi-prolog vs GNU-prolog"
- Previous message: Bart Demoen: "Re: Memoization/Tabling for SWI-Prolog"
- Next in thread: Nick Wedd: "Re: Can I do this in prolog string to [s,t,r,i,n,g]"
- Reply: Nick Wedd: "Re: Can I do this in prolog string to [s,t,r,i,n,g]"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 30 Jan 2004 20:41:15 +0800
How do I do this in ISO or SWI Prolog?
1. convert a string "string" to list [s,t,r,i,n,g]
2. check for substring like chksubstring("tri", "string")
or
string functions like those in visual prolog.
Regards,
SH
- Next message: Hi: "Re: swi-prolog vs GNU-prolog"
- Previous message: Bart Demoen: "Re: Memoization/Tabling for SWI-Prolog"
- Next in thread: Nick Wedd: "Re: Can I do this in prolog string to [s,t,r,i,n,g]"
- Reply: Nick Wedd: "Re: Can I do this in prolog string to [s,t,r,i,n,g]"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|