I would like to store entire url in a variable and insert into a data extension. I know you can grab specific parameters from a url but cant seem to find anything about the entire url with ampscript.   My url looks like this and i want to capture and store the whole thing
I have functionality on a cloud page that depends on the cloud page url. I know how to Requestparameter(), but how do I get the entire url using ampscript or SSJS?
In C++, sizeof('a') == sizeof(char) == 1. This makes intuitive sense, since 'a' is a character literal, and sizeof(char) == 1 as defined by the standard.  In C however, sizeof('a') == sizeof(int). That is, it appears that C character literals are actually integers. Does anyone know why? I can find plenty of mentions of this C quirk but no explanation for why it exists. I have taken three fields from case object called AccountName, IntegrationTo__c and SfType__c (checkbox).  I have created one case record with a specific combination of three fields.  For the second time I create a record with that combination, then  display error message only if SfType__c is true in first record otherwise allow  for record creation.  trigger AvoidDuplicate on Case(before insert)  {          set&lt;string&gt; newNameSet = new set&lt;string&gt;();     newNameSet = new set&lt;string&gt;();      set&lt;string&gt; newEmailSet = new set&lt;string&gt;();      set&lt;string&gt; dbNameSet = new set&lt;string&gt;();      set&lt;string&gt; dbEmailSet = new set&lt;string&gt;();      for(Case newLead : trigger.new){          newNameSet.add(newLead.Account.Name);          newEmailSet.add(newLead.IntegrationTo__c);      }      for(Case dbLead : [select id, Case.Account.Name, IntegrationTo__c from Case where IntegrationTo__c IN: newEmailSet OR Case.Account.Name IN: newNameSet]){          dbNameSet.add(dbLead.Account.Name);          dbEmailSet.add(dbLead.IntegrationTo__c);      }      for(Case newLead : trigger.new){          if(dbNameSet.contains(newLead.Account.Name) &amp;&amp; dbEmailSet.Contains(newLead.IntegrationTo__c))              newLead.addError('You are inserting Duplicate Case');      }  }   i wrote this this not checking the account field name and integration__c values only with combination of account and integration__c shows error Textbook recommendations for self-studying high school math? I'm a high school student who is trying to figure out a complete course of self-study for each year of high school. How can I self-learn grades of math without devoting too much time? This is a complex issue for me, as other students at my competitive high school have tutors and the like. Please recommend textbooks that have detailed explanations and progressive practice problems, for self-study for each area such as:  Algebra  Geometry  Trigonometry and Analytic Algebra  Pre-calculus  BC Calculus  Other people have skipped grades of math due to help from tutors and parents. Can I cover all of geometry and trigonometry in 8 months without going insane and be able to skip a grade? Does removing an iPhone from my icloud account also erase the data? I lost my iPhone 6S recently. I think it fell off my car and was crushed because it has been offline (according to Find My iPhone) ever since. I want to erase the phone and remove it from my iCloud account since the phone is gone.  However, I can't erase the phone until it comes back online. I do have the option to remove the device from my iCloud account. If I remove the phone from my iCloud account, does that also erase the data? The phone has a password on it, will it continue to be locked in case someone finds it after I have removed it from my iCloud account? Get lists of dependent picklist options in Apex Can I include the completion of Udacity and Coursera classes I have attended in an academic CV? Can I include in my academic CV that I have attended and completed the  and  classes I have been taking? I understand that these are not anything major, but the courses definitely gives a good overview and starting formal study on the subject becomes less cryptic. If I can include them without any negative impacts, then under what section should I include them? What are "good men that do nothing" called? "The only thing necessary for the triumph of evil is for good men to do nothing." -Edmund Burke  Is there an idiom, phrase or preferably a single word that we can call people that could have helped but didn't? Bystanders don't necessarily have help to give. Cowards aren't particularly helpful either.    Addendum:  For example, once EMS has arrived on scene, bystanders are encouraged not to try to help, unless they're a nurse and therefore have the necessary skills to, and sometimes even then so. If in The Service, I would not want a coward (a liability) next me holding the line. Not to take anything away from these great answers, or to insist on a non-militaristic point of view, I would like to veer into the commercial or civilian realm in which I find this quote most often alluded to, E.G., "If we all gave 5 cents we could cure cancer tomorrow." Pretend most of us did give 5 cents and we did cure cancer, but you didn't give. You are now a(n) ____?... yes, I know what we call them, but what is their proper designation? What does DISPLAY=:0.0 actually mean? The product of $n$ consecutive integers is divisible by $n$ factorial How can we prove that the product of $n$ consecutive integers is divisible by $n$ factorial?     Note: In this  and the comments here the OP has clarified that he seeks a proof that "does not use the properties of binomial coefficients". Please post answers in said newer thread so that this incorrectly-posed question may be closed as a duplicate. Do positive semidefinite matrices have to be symmetric? Can you have a non-symmetric matrix that is positive definite? I can't seem to figure out why you wouldn't be able to have such a matrix, but all my notes specify positive definite matrices as "symmetric $n \times n$ matrices."  Can anyone help me with an example of a non-symmetric positive definite matrix, or some insight into a proof for why it would need to be symmetric should that be the case? Thanks! Hill cipher, unknown letter value I've been struggling on this problem for a while now : the Hill cipher is well-known to be vulnerable to known-plaintext attack due to its linearity. Given a key matrix $K$ of size $n\times n$, one can retrieve the key with as little as $n^2$ plaintext/cipher text couples.  All examples found on the Internet assume an alphabet where $A=0, B=1 \dots Z=25$, but how could we break the Hill cipher using a know-plaintext attack without any clue over the alphabet permutation nor the key matrix ?  I've tried several things such as  the whole set of equations together, however it requires several divisions in $\bf{Z}_{26}$ which aren't possible (i.e. division by even numbers or 13) The  spell description states:  If a creature is holding or wearing the object and takes the damage from it, the creature must succeed on a Constitution saving throw or drop the object if it can. If it doesn't drop the object, it has disadvantage on attack rolls and ability checks until the start of your next turn...  I am unsure how this disadvantage mechanic functions as a whole. When do you suffer from it and in what ways (if any) can you end it? For example: What happens if you fail the save but cannot drop the object? Does dropping the object later, on your turn, do anything? What happens if you succeed on the save?  Does dropping the object later, on your turn, do anything? I would like it to be assumed that ; however, heat metal can still force you to drop the weapon. I would also like it to be assumed that . Why don't we pluralize "foot" in measurements? For example, to answer the question, "How tall are you?" valid answers include:   Five feet. Five foot three. Five feet, three inches.   Why the discrepancy between feet and foot, seemingly only in the second case.    This question is inspired by this question:   edit: I do not believe the answer to this is related to the other question. The explanation for the other question is because of how adjective modifiers work. My question is a very different case, unrelated to adjectives. My observation is that I am asking about a particular exception case which applies only when "foot" is followed by a number which is assumed to be inches. That's extremely specific, and I doubt that the etymology has any relation to why we leave adjective modifiers singular. Can I use my powers for good? 'He don't have knowledge ' vs 'He doesn't have knowledge' Why does the Community user approve and reject edits? Why does the Community user sometimes approve or reject edits? How does a machine know if my edit is valid? What does it mean if my edit was rejected by Community?     See also: Why can two (or more) electric field lines never cross? The the title is self explanatory, I guess.  Why can two (or more) electric  never cross? Isomorphism involving Eilenberg-Maclane space, Tors. Let $\pi$ be a group and let $K(\pi, 1)$ be a connected CW complex such that $\pi_1(K(\pi, 1)) = \pi$ and $\pi_q(K(\pi, 1)) = 0$ for $q \neq 1$. Does there exist an isomorphism between $H_*(K(\pi, 1); A)$ and $\text{Tor}_*^{\mathbb{Z}[\pi]}(A, \mathbb{Z})$? I want to work with unsigned 8-bit variables in C++.  Either unsigned char or uint8_t do the trick as far as the arithmetic is concerned (which is expected, since AFAIK uint8_t is just an alias for unsigned char, or so the debugger presents it.  The problem is that if I print out the variables using ostream in C++ it treats it as char.  If I have:  unsigned char a = 0; unsigned char b = 0xff; cout &lt;&lt; "a is " &lt;&lt; hex &lt;&lt; a &lt;&lt;"; b is " &lt;&lt; hex &lt;&lt; b &lt;&lt; endl;   then the output is:  a is ^@; b is 377   instead of   a is 0; b is ff   I tried using uint8_t, but as I mentioned before, that's typedef'ed to unsigned char, so it does the same.  How can I print my variables correctly?  Edit: I do this in many places throughout my code.  Is there any way I can do this without casting to int each time I want to print? Precedence of user and group owner in file permissions