<image>As shown in the figure, in $$\triangle ABC$$, $$AB=AC$$, the perpendicular bisector of $$AB$$ intersects $$AC$$ at point $$E$$, with the foot of the perpendicular at $$D$$. Connect $$BE$$. If $$BC=4cm$$ and the perimeter of $$\triangle BEC$$ is $$10cm$$, then the length of $$AB$$ is ______ $$cm$$.