I want to remove the % character from my string if the % character present in the string, then it should check whether it is in the beginni