Author: Rohit Umarjikar
Posted: Thu Sep 15, 2016 10:34 am (GMT 5.5)
Kerry,
Welcome!!
I agree to the point of the approach of checking byte by byte instead of INSPECT. So for the given situation the first byte should be skipped and one of any consecutive '"' should be skipped and certainly the last one.
this is hard coded solution to TS requirements and as you pointed out that for any other situations it will be incorrect.
_________________
Regards,
Rohit Umarjikar
"Knowledge is knowing that a tomato is a fruit, but Wisdom is knowing not to put it in a fruit salad."![icon_razz.gif]()
Posted: Thu Sep 15, 2016 10:34 am (GMT 5.5)
Kerry,
Welcome!!
I agree to the point of the approach of checking byte by byte instead of INSPECT. So for the given situation the first byte should be skipped and one of any consecutive '"' should be skipped and certainly the last one.
this is hard coded solution to TS requirements and as you pointed out that for any other situations it will be incorrect.
_________________
Regards,
Rohit Umarjikar
"Knowledge is knowing that a tomato is a fruit, but Wisdom is knowing not to put it in a fruit salad."
