Class jToArray

  • All Implemented Interfaces:
    JFunctor, JMetaMetaFunctor, JSONFunctor, Serializable

    public class jToArray
    extends JFunctorImpl
    A functor to take a string with an embedded delimiter and turn it into an array.
         $toArray[list, delim]
     
    For instance,
         $toArray["A;B;C;D",";"]
     
    would return a JSON array
         ["A","B","C"."D"]
     

    Created by Jeff Gaynor
    on 7/12/18 at 4:09 PM

    See Also:
    Serialized Form
    • Constructor Detail

      • jToArray

        public jToArray()
    • Method Detail

      • execute

        public Object execute()