daily pastebin goal
1%
SHARE
TWEET

Untitled

a guest Jul 13th, 2018 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <cfscript>
  2.  
  3.     //adUnit = "mdlinx_misc_box_atf_top_1";
  4.     adUnit = "mdlinx_top_news_ldbd_atf_top_1";
  5.  
  6.     afterPrefix = REFindNoCase("_", adUnit);
  7.     adUnitWithoutPrefix = Right(adUnit, Len(adUnit) - afterPrefix);
  8.     beforeSuffix = REFindNoCase("(ldbd|sky|box)", adUnitWithoutPrefix, 1, false, "all");
  9.     adUnitPage = Left(adUnitWithoutPrefix, beforeSuffix -2);
  10.     withPlaceholder =  Left(adUnit, afterPrefix)
  11.       & "[[placeholder]]"
  12.       & Right(adUnit,  beforeSuffix - afterPrefix + 3);
  13.     WriteDump([
  14.         adUnitPage,
  15.         withPlaceholder,
  16.         adUnit,
  17.         adUnitWithoutPrefix,
  18.         beforeSuffix,
  19.         withPlaceholder
  20.     ]);
  21.  
  22.  
  23. </cfscript>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top