Next, in order to check that whether our formatting was successful or not, we compared our sval value to a string literal ???true??? but before that we converted sval to lower to make sure that comparison is successful if the string contains ???true???.