Forums

Give help. Get help.

  • # September 12, 2017 at 11:23 am

    Trying to print all the name from members array, all things are fine but the last comma, how do i remove it.

    See the code here please – https://jsfiddle.net/pranab/gLvborup/2/

    please help..and please tell that what other possible way to do that but only in Pure JS, that would be very helpful..

    # September 12, 2017 at 11:35 am

    Google is your friend. Look up “javascript remove last comma” and try a few of the suggestions, such as slice(), substring(), or replace() with a regex

    # September 12, 2017 at 2:09 pm

    got it, thanks.. @beverleyh

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag