[Validator] #125 - removed AValidator::truncatePrefix() and added AValidator:deleteElementWhenPrefix()
[Validator] + fixed typo in AValidator