Install via Cocoapods, add a line like the one below, in your Podfile:
pod 'CKStringUtils', '~> 1.0.0'
Alternatively, clone this repository and add CKStringUtils.h and CKStringUtils.m to your project
This source includes class docs, which can be incorporated into Xcode or Dash by:
- If you don't already have appledoc installed, install it with
homebrew by typing brew install appledoc
. - Install the documentation into Xcode by executing the
generate_appledoc.sh
script. - Restart Xcode if it's already running or locate the docset using Dash.
-
An empty string is either a nil value of a 0-length string.
-
A blank string is either an empty string of a string which contains 1 or more non-whitespace characters.
Class Methods:
+ isNil:
+ isNotNil:
+ isEmpty:
+ isNotEmpty:
+ isBlank:
+ isNotBlank:
+ isAllLowerCase:
+ isAllUpperCase:
+ isAlpha:
+ isNumeric:
+ isAlphaNumeric:
+ string:equalsString:ignoreCase:
+ string:containsString:ignoreCase:
+ string:doesNotContainString:ignoreCase:
+ defaultString:forString:
+ defaultStringIfEmpty:forString:
+ defaultStringIfBlank:forString:
+ abbreviate:maxWidth:
This code is distributed under the terms and conditions of the MIT license.