parsing data | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

parsing data

https://code.sololearn.com/cUe1AA2AGz51 hi friends here is my code i am trying to parse the data between (data:) and delimiter ';' I am getting output for this case input: embedded data:rakesh; expected output:rakesh if there is no delimiter in the string it should not print the data which is after(data:) with this code if we give input without delimiter it should not print the data The exact doubt and requirement is if there is no delimiter how could i know that, as there is no delimiter so please give me suggestion. Thank you

20th Jul 2019, 9:16 AM
malepu rakesh
malepu rakesh - avatar
2 Answers
20th Jul 2019, 4:52 PM
John Wells
John Wells - avatar
+ 1
Thank you Sir
20th Jul 2019, 5:15 PM
malepu rakesh
malepu rakesh - avatar