What?
A quick article on how to replace the return key on a soft keyboard (software based) on a touch-device.
Why?
I have an editText where a user can enter any text value but if they typed a ...
What?
For those of you who use Preg_Replace. Preg_replace is a function that uses regular expressions to search and replace a string.
Why?
Because my understanding with regular expressions is ...
... but here's a short bit of code to speed it up which I now use:
update table_name set field_name=REPLACE(field_name,'string_to_find','string_to_replace');
Source: http://www.mediacollege.com/computer/database/mysql/find-replace.html ...
... 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(" ...
... Report in ZohoCreator
l_CsvLines = List();
l_ApplicableProducts = Products[Display_in_Widget=="Yes"] sort by Product_Name;
for each c_Product in l_ApplicableProducts
{
l_CsvRow = List();
l_CsvRow.add(c_Product.Photo);
l_CsvRow.add(c_Product.Product_Name.replaceAll(",", ...
... = r_Permissions.get("data").get("attributes").get("permalink");
v_ImageURL = v_ImageURL.replaceAll("https://workdrive.zohopublic.eu/file/","",true);
//
// replaced with URL taken on inspect element
v_ImageURL ...
... set first and last name
v_FirstName = "BILLIE-JO";
v_LastName = "MCDONALD-O'LEARY ii OF CAMBRIDGE-worcester-OXFORD";
//
// let's deal with double or triple barrelled first names
v_FirstName = v_FirstName.replaceAll("-", ...
... / send an order array
l_OrderIDs = List();
m_OrderID = Map();
m_OrderID.put("OrderID",p_eBayOrderRef);
l_OrderIDs.add(m_OrderID);
m_Params.put("OrderIDArray",l_OrderIDs);
//
// convert to xml and repla ...
... 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(" ...
... the filename appended. Because of MS Windows 11 limitations (any MS OS really), you need to ensure that long hyphens (#151) and some other funny characters are replaced out as the OS won't allow the file ...
... with this many spaces using leftpad
v_GeneratedList = leftpad(" ", v_CheckDaysAhead).replaceAll(" ",",");
//
// convert string to a list
l_GeneratedList = v_GeneratedList.toList();
//
// initialize ...
... // convert to xml and replace root nodes
x_Params = m_Params.toXML();
x_Params = x_Params.toString().replaceFirst("","");
x_Params = x_Params.toString().replaceFirst("","");
info x_Params;
//
// s ...
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.