#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <string.h> char ** split(char *mother, char split_char){ char *arry[1024]; //the MAX sub string is 1024 and you can modify it char *new; char buf[1024] = {'\0'}; int
常用方法 获取字符串长度 public int length() 字符串Unicode操作 这部分用的不多,不是很清楚,先记载在这. //获取指定索引处的元素对应的unciode编码 public int codePointAt(int index) //获取指定索引处之前的元素对应的unciode编码 public int codePointBefore(int index) //获取指定的开始索引到结束索引之间元素的unciode编码的个数 public int codePointCount
Additive number is a positive integer whose digits can form additive sequence. A valid additive sequence should contain at least three numbers. Except for the first two numbers, each subsequent number in the sequence must be the sum of the preceding