Una stringa la puoi trattare tranquillamente come un array.