support/StringUtils.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2005 Palmsource, Inc.
00003  * 
00004  * This software is licensed as described in the file LICENSE, which
00005  * you should have received as part of this distribution. The terms
00006  * are also available at http://www.openbinder.org/license.html.
00007  * 
00008  * This software consists of voluntary contributions made by many
00009  * individuals. For the exact contribution history, see the revision
00010  * history and logs, available at http://www.openbinder.org
00011  */
00012 
00013 #ifndef _SUPPORTKIT_STRINGUTILS_H_INCLUDED_
00014 #define _SUPPORTKIT_STRINGUTILS_H_INCLUDED_
00015 
00021 #include <support/String.h>
00022 #include <support/Vector.h>
00023 
00024 #if _SUPPORTS_NAMESPACE
00025 namespace palmos {
00026 namespace support {
00027 #endif
00028 
00035 
00037 
00042 status_t    StringSplit(const SString& srcStr, const SString& splitOn, SVector<SString>* strList, bool append = false);
00043 
00045 
00052 status_t    StringSplit(const char* srcStr, int32_t srcStrLen, const char* splitOn, int32_t splitOnLen, SVector<SString>* strList, bool append = false);
00053 
00055 
00058 #if _SUPPORTS_NAMESPACE
00059 } } // namespace palmos::support
00060 #endif
00061 
00062 #endif //_SUPPORTKIT_STRINGUTILS_H_INCLUDED_