Modifying a text file in Android

Hello @a_random_cat,

This will help us help you:

Working example to extract string from array:

String [] lines = loadStrings("mac.txt");

printArray(lines);
println();

String awewo = lines[0].toString();
println(awewo);

println();

mac.txt file contents:

aa:bb:cc:dd:ee
https://www.processing.org
https://discourse.processing.org/t/guidelines-asking-questions/2147
https://stackoverflow.com/help/minimal-reproducible-example
500.7
12

Console output on Processing JAVA:

References:
https://processing.org/reference/loadStrings_.html
https://stackoverflow.com/help/minimal-reproducible-example < This is in the Guidelines

:)