Back to project page AndroidCloud.
The source code is released under:
GNU General Public License
If you think the Android project AndroidCloud listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.twlkyao.utils; /*from w w w .j a v a2s . co m*/ public class StringSplice { public static String stringSplice(String a, String b) { String result = ""; char[] chara = a.toCharArray(); char[] charb = b.toCharArray(); int length = (chara.length > charb.length) ? charb.length : chara.length; for(int i = 0; i < length; i ++) { chara[i] = (char) ((chara[i] + charb[i]) %128); } result = String.valueOf(chara); return result; } }