test array-like string