Skip to content
Advertisement

Check for a Substring after a particular occurrence of string which is separated by dots

I have a string with dots. I want to get a particular substring after occurrence of word

entity

that is for example

JavaScript

So as explained above I have to extract substring after the string entity from the given string. Can anyone please help? (I am using java to do it).

Advertisement

Answer

You can do something like this :

JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement