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

 frontstr

[This is preliminary specification and subject to change.]

Group

Prolog predicates  (more...)

Type

determ

Syntax

frontstr( INTEGER POSITION, STRING Inpstring, STRING START, STRING REST)

Flow patterns

(i,i,o,o)

 

Description:

Split a string into two strings
Remarks

The frontstr splits SrcString into two parts. StartStr contains the first NumberOfChars characters from SrcString, and EndString contains the rest of SrcString.

Sample:

No sample

Copyright © 1997-2013 EDMGROUP (Australia)