karthi
karthi

Reputation: 2911

how to handle strings in prolog

i need to check if a string is available in given prolog statement

example

related('also-5','be-8').

i want to check if be is there in this statement how to do?

please give me some link to detailed tutorial on string handling in prolog

Upvotes: 1

Views: 416

Answers (1)

Kaarel
Kaarel

Reputation: 10672

Relevant sections in the SWI-Prolog manual:

  • Analysing and Constructing Atoms
  • Representing text in strings

Upvotes: 1

Related Questions