|
From: | Manuel Guesdon |
Subject: | NSString -stringByTrimmingSpaces bug |
Date: | Thu, 14 Mar 2002 11:35:54 +0100 (CET) |
Hi, The following case: ' 0' (3 spaces and a character) is badly handled: the method return an empty string instead of '0' I think the test if (start<end) should be if (start<=end && end<length) Manuel
[Prev in Thread] | Current Thread | [Next in Thread] |