u/ProfitCold4972

▲ 1 r/Xcode+1 crossposts

In C if aString contains "test" then
NSLog(@"var: '%s'", aString);
produces
var: ' test '
instead of the expected
var: 'test'

Why? Is this relatively new? Can I turn off the extra spaces? Edit/Format/Substitutions all are off. Thanks. Xcode 26.4.1

reddit.com
u/ProfitCold4972 — 4 days ago