Parse a Comma seperated string using JavaScript or jQuery
$10-30 USD
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
Project ID: #16601190
About the project
18 freelancers are bidding on average $27 for this job
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 :)
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
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
Hi there , I can parse the comma using substring of jqery. I am good at this. So please ping me for more details.
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
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
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
Hello there. I'm ready to code you a badass function to sort your dilema. Send me a message.