Added two useful methods..

If I look apart from mistakes in docblock, missing typehint and inconsistent implementation, I agree with @fprochazka that explode() is good enough. The `.` shouldn't be separator always. :-1: from me.