2 Replies Latest reply on Feb 13, 2019 1:35 PM by Kai Crow

    String Length in Velocity Script?

    Kai Crow

      Is there a way to return the length of a string in Marketo Velocity email script? I might just be being dumb, but I've tried looking and can't find it referenced anywhere.


      I want to have a script token display a different format greeting if we've just been given a single initial for first name (as we often get this occurring) - I can think of a few ways of using several lines of code to achieve this, but would rather not create something unnecessarily complex for what seems simple if I can avoid it...