I have a string that contains values such as:
string str ="Abhigyan Prakash,Primeshow,NewsPoint,NCP,Inflation,सरकार,राहुल,प्राइम शो,न्यूजप्वाइंट,कमजोर,एनसीपी,अभिज्ञान प्रकाश,Rahul";
I used the code below to convert it to a list of arrays:
ArrayList altags = new ArrayList( str.Split(','));
now I want to delete all those lines from arraylist that belong to non-English language (in my context, those words written in "Hindi" should be deleted)
please invite me to check that the string is written in English (with numbers and symbols) or in another language.
NOTE. I have no problems with the general list. I can’t take it either. but please tell me how to check that a string contains only alphabets + numeric characters + Thanks
source share