... statement execution limit exceed Line:(10)" but it will info out each number to increment:
//
l_Loop = " ".leftpad(5000).replaceAll(" ", ",").toList();
//
for each index v_Iteration in l_Loop
{
info ...
... loop this to get all the categories
// let's calculate how many pages we need
v_MaxPages = ceil(v_TotalProducts / v_PerPage);
//
// generate a loop list
l_ProductPages = " ".leftpad(v_MaxPages - 1).replaceAll(" ...
... now let's generate the page list to have all the available pages
v_TotalNumberOfPages = ceil(v_MaximumOrders / v_PerPage);
l_AddPages = leftpad(" ",v_TotalNumberOfPages).replaceAll(" ",",").toList();
for ...
... a list based on the number of days ago (list of dates to check)
l_GeneratedList = leftpad(" ",v_DaysAgo).replaceAll(" ",",").toList();
//
// loop through
for each index v_Index in l_GeneratedList
{
// ...
... = 1500;
//
// now let's generate the page list to have all the available pages
v_TotalNumberOfPages = ceil(v_MaximumProducts / v_PerPage);
l_AddPages = leftpad(" ", v_TotalNumberOfPages).replaceAll(" ...
What?
This is an article on a trick I picked up from one of our interviewees as well as apparently in one of the Zoho documentation manuals. It uses leftpad to create a string of a length, converts ...
...
So going through the forums you may find the following example:
string padWithLeadingZeros(int finalStringLength, int startingNumber)
{
return leftpad(toString(input.startingNumber), input.finalStringLength).replaceAll(" ...
... yields I am Joe
Not a regular expression but something I use to pad months and dates in a date format:
v_MyString = 2; // February
v_FormattedString = leftpad(toString(v_MyString), 2).replaceAll(" ...
What?
This code snippet took me a while to do and the documentation is flaky so I thought I'd make a note here just in case I need to refer to it again.
Why?
I want to modify a picklist and fill ...
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies. Read more about our Privacy Policy.