public MultiPos < String , String , String > by ( final Object replacement ) { return new MultiPos < String , String , String > ( checkNotNull ( replacement ) . toString ( ) , null ) { @ Override protected String result ( ) { return findingReplacing ( left , Character . class . isInstance ( replacement ) ? ' ' : ' ' , pos , position ) ; } } ; }
Returns a MultiPos instance with all occurrences with given replacement