I have a string like:
varA*varB%+Length('10%')
I want to replace all the “%” characters not within single quotes with “/100” to end up with
varA*varB/100+Length('10%')
Methinks this is a job for a RegEx?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
non regex solution and not that dirty either 😉