One of my java methods returns a paragraph string. How can i verify if the string has an ellipsis (…) in it?
Share
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.
If you mean the whacky “ellipsis character” (ASCII 133
…three little dots in one character), simply code that character in a string used with thecontains()method.Copy-paste the ellipsis character from this answer into your code if you have to.