links to user avatars are something like this:

Hello,

links to user avatars are something like this:

http://localhost/flywers/wp-content/uploads/avatars/user/ecc/user-3-32.png

http://localhost/flywers/wp-content/uploads/avatars/user/c4c/user-1-32.png

I need to know to identify the name of the subdirectory in which the avatar is stored (c4c for the user=1 and ecc for the user with id=3).