Copyright (1999-2008) EDMGROUP Pty Ltd - EZY Prolog Reference

 fronttoken

[This is preliminary specification and subject to change.]

Group

Prolog predicates  (more...)

Type

determ

Syntax

fronttoken( STRING IN, STRING FRONT, STRING REST)

Flow patterns

(i,o,o),(i,i,o),(i,o,i),(i,i,i),(o,i,i)

 

Description:

Separates the first token in a string
Remarks

The fronttoken operates as if it were defined by the equation:
String =(the concatenation of Token and RestString)

Sample:

No sample

Copyright 1997-2013 EDMGROUP (Australia)