@Word formula language function written as a javascript function?

Posted on 2006-06-02
Last Modified: 2013-12-18
Anyone have the @Word formula language function written as a javascript function?  Accepting the 3 parameters and returning the specified word...

I could really use this and cant figure out how to write it...
Question by:TheRookie32
    LVL 18

    Expert Comment

    var word = this.value.split(delimiter)

    other variations, but I thought you would find this amusing.
    LVL 13

    Accepted Solution

    Marilyn is right, but since you're after a 3 parameter equivalent:

    function word(source, separator, element)

    You may want to fiddle around with the value of <element>:
    @Word returns elements 1 and up, javascript's split generates a 0-based array (1st element has index 0).
    LVL 6

    Author Comment

    very nice, thanks!

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
    I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now