1

I'm looking for modulus operator in their docs but I can't find it so I though I would ask here. I have a loop written in AMPscript and I need to insert a piece of html every X item. Is there a modulus operator in AMPscript?

Thanks

2

1 Answer 1

4

The Mod function is documented in the Utilities AMPscript Functions page, so it takes a moment to find. Like most Mod functions, it takes the dividend and the divisor as the two parameters and returns the remainder.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .