Error Message

Chris Kelleher

Administrator
Staff member
Hi pegger,

I got error message : Starting position for substring, overlay,
etc., must be 1 or greater. (82)
The field which got error message is the initial value which used in
{pt/setinit id} and does not use substring function. Could anybody tell me
what cause this error msg?

Thanks for help?

Michelle Hong
 

Chris Kelleher

Administrator
Staff member
Hi,

The syntax for the substring and overlay functions are:

substring(string, starting_pos, no_of_characters)
overlay(string, starting_pos, no_of_characters)

If the starting position is less than or equal to 0, you will receive this
error message.

You will get a similar error if the number of characters is less than 0. It
should be noted that the number of characters can be 0.

- Joel
 
Top