Programming for beginners

This blog is primarily focus on Java fundamentals and the libraries built on top of Java programming language. Most of the post are example oriented, hope you have fun in reading my blog....:)

Showing posts with label indexOf. Show all posts
Showing posts with label indexOf. Show all posts
Wednesday, 29 April 2020

Check whether given character present in string or not

›
Using ‘indexOf’ method, we can check whether given character is present in string or not. ‘indexOf()’ method return -1, if given character...
›
Home
View web version
Powered by Blogger.