To leave a community first click on "Community". There you will find all communities you have joined. If you want to leave a community press on the community and keep it pressed until the option "Leave community" appears. If you click on it, you leave the community and it will be deleted from your list.