RadzenTextArea read line by line

I have a textarea that a user can paste account numbers into.
The are selecting a column in excel and each number are the separated by \n

Are there a way to read / loop though each line?

Yo can do this

 if (CustodianAccountsTextArea.HasValue)
            var lines = CustodianAccountsTextArea.Value.Split(
                new[] {Environment.NewLine},

            Console.WriteLine($"You pasted {lines.Length} into the textarea");