Hi I am having string called ‘santhosh’. I wish to split this text as ‘s,a,n,t,h,o,s,h’ using javascript. Is it possible? And want to save it in an array.
And I wish to check whether the splitted character is string or Numeric is it possible?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use an empty string as the separator argument of the
splitmethod: