java - How to extract the left most common characters in a string list? -


assume have following list of string objects:

abc1, abc2, abc_whatever 

what's efficient way extract left common characters list ? i'd abc in case.

stringutils.getcommonprefix(string... strs) apache commons lang.


Comments

Popular posts from this blog

Admob integration with pygame in android -

Function that returns a formatted array in VBA -

gwt - Using Gin to Inject Multiple Views -