nacrotic
06-17-2007, 09:03 AM
i want format this string : "%s" "spk \'%s\'" "cd" "u"
i have try add \ befor specialchar bug same error (\"%s\" \"spk \\\'%s\\\'\" \"cd\" \"u\")
i have try add single quote around specialchar with \ ('\"'%s'\"' '\"'spk '\\''\''%s'\\''\'''\"' '\"'cd'\"' '\"'u'\"')
but continu to dont work
the final commande must be
format(soundToWrite,95," "%s" "spk \'%s\'" "cd" "u" ",g_soundName[g_soundNums],soundPath)
thank for your help
i have try add \ befor specialchar bug same error (\"%s\" \"spk \\\'%s\\\'\" \"cd\" \"u\")
i have try add single quote around specialchar with \ ('\"'%s'\"' '\"'spk '\\''\''%s'\\''\'''\"' '\"'cd'\"' '\"'u'\"')
but continu to dont work
the final commande must be
format(soundToWrite,95," "%s" "spk \'%s\'" "cd" "u" ",g_soundName[g_soundNums],soundPath)
thank for your help