Thanks for those tips I’ll try System.err.println(). I also forgot about lastindexof(), thanks for reminding me.