gpt4 book ai didi

ios - 未知转义序列 '\x20'

转载 作者:行者123 更新时间:2023-11-29 04:00:29 25 4
gpt4 key购买 nike

我创建了这段代码

NSString *insertSQL = [NSString stringWithFormat:@"Update Expense_Group set Expense_sum = Expense_sum-\%@\ where Expense_Type_Id = \"%@\"",strExpAmount,current_Expense_TypeId];

现在,我收到此警告“未知转义序列'\x20'”。

最佳答案

您只需“\”转义“stringWithFormat:”调用中的引号...

关于ios - 未知转义序列 '\x20',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15917043/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com