StringParser::PeekN (open)

Returns the next N characters, without moving the current position

Syntax

LOADLIB "wh::util/stringparser.whlib";

STRING FUNCTION PeekN(INTEGER n, INTEGER pluspos)

Parameters

INTEGER n

Number of characters to read

INTEGER pluspos

Number of characters to skip from the current parse point (0 to include the current character). Defaults to 1.

Return value

STRING

Peeked characters

Description

This functions returns the characters after the current parse point.