Skip to content

How to check if a character is a special character in java

2
  • Damyanti
How to check if a character is a special character in java

To check if string contains special character or not or check whether first character is special character or not we can use regex or contains method of sting class. By using java.util.regex.Matcher class and java.util.regex.Pattern class methods we can c

Read this post on instanceofjava.com


Popular Articles by this blogger

Recommended for you