libcutils: add a function which use to split a string.

N/A

Signed-off-by: liminghao <vgotoos@gmail.com>