Hi,
What I am trying to do is, to retrieve some data from a table and put it into a variable. And that data is of type string.
for eg: while select …some condition
{
a = table.fieldname;
}
return substr(a,pos,length);
The above code is a display method on a report. The method works fine, bu substr does not work. It gives me the entire string value as it is in the table.
actual output: sl-abcd
expected output: abcd
The subStr() dont work here.