Up
Authors
- Richard Frith-Macdonald (
rfm@gnu.org
)
-
Date: Generated at 2024-11-18 21:56:54 +0100
Copyright: (C) 2003-2010 Free Software Foundation, Inc.
- Declared in:
- GNUstepBase/NSString+GNUstepBase.h
Availability: Not in OpenStep/MacOS-X
Provides some additional (non-standard) utility
methods.
+ (id)
stringWithFormat: (
NSString*)format
arguments: (va_list)argList;
Availability: Not in OpenStep/MacOS-X
Alternate way to invoke
stringWithFormat
if you have or wish to
build an explicit va_list
structure.
- (
NSString*)
stringByDeletingPrefix: (
NSString*)prefix;
Availability: Not in OpenStep/MacOS-X
Returns a string formed by removing the
prefix string from the receiver. Raises an
exception if the prefix is not
present.
- (
NSString*)
stringByDeletingSuffix: (
NSString*)suffix;
Availability: Not in OpenStep/MacOS-X
Returns a string formed by removing the
suffix string from the receiver. Raises an
exception if the suffix is not
present.
- (
NSString*)
stringByReplacingString: (
NSString*)replace
withString: (
NSString*)by;
Availability: Not in OpenStep/MacOS-X
Returns a string in which any (and all) occurrences
of replace in the receiver have been replaced
with by. Returns the receiver if
replace does not occur within the
receiver. NB. an empty string is not considered
to exist within the receiver.
- (
NSString*)
stringByTrimmingLeadSpaces;
Availability: Not in OpenStep/MacOS-X
Returns a string formed by removing leading white
space from the receiver.
- (
NSString*)
stringByTrimmingSpaces;
Availability: Not in OpenStep/MacOS-X
Returns a string formed by removing both leading
and trailing white space from the receiver.
- (
NSString*)
stringByTrimmingTailSpaces;
Availability: Not in OpenStep/MacOS-X
Returns a string formed by removing trailing white
space from the receiver.
- (
NSString*)
substringFromRange: (
NSRange)aRange;
Availability: Not in OpenStep/MacOS-X
Up