Skip to content
Advertisement

Split a string in java based on custom logic

I have a string

JavaScript

and I need to extract

JavaScript

from the string using Java. Can anyone suggest me a clean way to extract this.

Advertisement

Answer

Core Java

JavaScript

Using apache commons

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