Parse a Comma seperated string using JavaScript or jQuery

Completed Posted 5 years ago Paid on delivery
Completed Paid on delivery

I need to parse a comma separated string and pull out the first value, remove it from the string and loop again to pull the next value. So if I have id = '12345,NON23456,345678,NON45678' I need to loop 4 times and pull the first value '12345' do something with the id and then loop again and pull '23456' loop again and pull '345678' and then loop one more time and get '45678'. The id string could be any number of items, with alpha and numeric values so it could loop once or 25 or 250. I HAVE to process the values in order that they are in the string so you can NOT split into an array and loop the array because there is no guarantee that they will be in the correct order. This code needs to run in standard browsers without any add- in's such as startswith or endswith. I need clean efficient code. Nothing with PHP. Be aware there is no comma at the end. PLEASE if you don't understand you cannot split into an array do not bid. This should be only a few lines of code

AJAX HTML5 JavaScript jQuery / Prototype

Project ID: #16601190

About the project

18 proposals Remote project Active 5 years ago

Awarded to:

MimiFL

Hi, i m serious freelancer with 100% completion rate and i believe i can help you. I can do it exactly as specified. If you are interested feel free to message me and i will try to help immediately. I've done hundreds More

$20 USD in 0 days
(321 Reviews)
6.8

18 freelancers are bidding on average $27 for this job

bjrupani

Hello hirng memeber i am bhavika i have done this types of job i can make it sense in 4 hours so please give me chance i have good skill with php ,ajax, jquery and javascript so i can do it thanks :)

$27 USD in 0 days
(166 Reviews)
6.9
royalwebraisers

Dear Hiring Manager, I can make the logic for NON . I have carefully gone through your job posting on " " and I am ready to work with you. I have 5+ years of web development experience with great projects in my p More

$35 USD in 1 day
(102 Reviews)
6.4
WebInfoSolutions

I can write the code to loop the comma separated string. I will do it in Javascript or JQuery, I am ready.. I will keep this thing as well in mind. : I HAVE to process the values in order that they are in the strin More

$29 USD in 0 days
(73 Reviews)
6.5
an1566706

we applies most recent technologies-to provide best services through its high qualified development team which makes Our Solutions able to provide best services to its clients with the best price . Now, and since m More

$25 USD in 1 day
(14 Reviews)
5.4
rambanstola

Really small problem. Could do it in next 30 minutes! Let me know

$33 USD in 0 days
(36 Reviews)
5.0
Artopix

Hi there , I can parse the comma using substring of jqery. I am good at this. So please ping me for more details.

$25 USD in 1 day
(4 Reviews)
3.2
hubertnoyessie

Yes some simple solution exists depending of how you use id after. A javascript object should be a fast way to implement it. I suggest object because we need to save the state of id ( position ). otherwise, we will ne More

$20 USD in 1 day
(4 Reviews)
2.7
rwebtech

A proposal has not yet been provided

$111 USD in 1 day
(0 Reviews)
0.0
awaistariqq

Hi I am experienced software engineer with more than 6 years in IT. I have established accounts on other freelancing sites. I move recently on this platform. I would like to work with you. Thanks

$25 USD in 1 day
(0 Reviews)
0.0
khuntibharatc

Greetings! My name is Bharat Khunti and I am expert in SharePoint/Office 365 customization. I would love to have the opportunity to discuss your project with you. I believe communication is key to any successful pro More

$15 USD in 1 day
(0 Reviews)
0.0
ivanrodriguess

Hello there. I'm ready to code you a badass function to sort your dilema. Send me a message.

$30 USD in 1 day
(0 Reviews)
0.0