The String Plugin provides atoms for string operations and manipulations.
&concat
takes two strings as input and returns their concatenation:
Example:
fullstring(Full) :- &concat[P,F](Full), stringpair(P,F).
&strstr
evaluates to true
if the second input argument is a (case-insensitive) substring of the first:
Example:
austrian_phone(P) :- &strstr[P,"+43"], phonenumber(P).
&split
splits a string by a specified delimiter:
Example:
month(M) :- &split["2006-04-26","-",1](M).
&sha1sum
calculates the SHA1 sum of a string:
Example:
owner(ID) :- &sha1sum[X](ID), mailbox(X).
$Id$
General
dlvhex source code @ github.com
Description-Of-A-Project
Popular Plugins
Action Plugin
DecisionDiagrams Plugin
Description Logics Plugin
Description Logics Lite Plugin
MELD: Belief Merging Plugin
Nested HEX Plugin
MCSIE Plugin
String Plugin
dlvhex-semweb Project
Documentation
User Guide
README
doxygen
Writing Plugins in C++
Writing Plugins in Python