I came across a scenario where the %Subst threw the following error
"Length or start position is out of range for the string operation"
But this error came up only when the start & end position of the %Subst went past a particular value. Is this a limitation of %Subst?
Eval Wrk_Var = %Subst(Data@p:Wrk_StrPos:Wrk_EndPos)
The values in this statement are given below (when it crashed)
Wrk_StrPos = 16431
Wrk_EndPos = 16530
Could anyone help ?
"Length or start position is out of range for the string operation"
But this error came up only when the start & end position of the %Subst went past a particular value. Is this a limitation of %Subst?
Eval Wrk_Var = %Subst(Data@p:Wrk_StrPos:Wrk_EndPos)
The values in this statement are given below (when it crashed)
Wrk_StrPos = 16431
Wrk_EndPos = 16530
Could anyone help ?
Comment