shekhargulati / strman-java

A Java 8 string manipulation library.

Home Page:https://shekhargulati.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add zip function

shekhargulati opened this issue · comments

If you provide more details about this function I could implement it

@Cs4r thanks for your help. This is what I want to implement

zip("ABC","DEF")
// Result should be ["AD","BE","CF"]

What datatype should be the return type? List with two strings? A tuple? An array of length 2?

@Cs4r it will be a List<String>. Rather than tuple it will be a String of length 2. Does this help?