How to find Length of Last Word in long String



How to find Length of Last Word Length in long String
SOURCE : LastWordLength.java
INPUT
String s = "i love this country and and also it seems that we have the correctness of the somengdfer hereIam   ";
OUTPUT
7


Sandeep Kumar D

Hi, I have written and developed this post so that most of people will be benefited. I'm committed to provide easy and in-depth tutorials on various technologies.I hope it will help you a lot.
- Sandeep Kumar D

Follow Me @Google+
SHARE

    Blogger Comment
    Facebook Comment

0 comments :

Post a Comment