Hot Door CORE  0.7.0
Adobe® Illustrator® Plug-in Library
Typedefs | Functions
hdicoreStrings.h File Reference

Header file for Illustrator unicode string manipulation. More...

Typedefs

typedef std::vector< std::string > hdi::core::strings::StringVector
 

Functions

uint32_t hdi::core::strings::substrCount (const std::string &str_, const std::string &substr_)
 Gets the number of times a substring occurs in a given string. More...
 
bool hdi::core::strings::split (const std::string &str_, const std::string &delim_, StringVector &elements__)
 Tokenizes a string by a given substring delimiter. More...
 
std::string hdi::core::strings::trim (const std::string &str_)
 Trims the whitespace from both ends of a string, returning a duplicate. More...
 
std::string hdi::core::strings::uppercase (const std::string &str_)
 Uppercases an entire string, returning a duplicate. More...
 
std::string hdi::core::strings::lowercase (const std::string &str_)
 Lowercases an entire string, returning a duplicate. More...
 
std::string hdi::core::strings::replaceAll (const std::string &subject_, const std::string &search_, const std::string &replace_)
 Replaces all instances of a search string, in a subject string, with a given replacement. More...
 
UTF16String hdi::core::strings::utf8ToUTF16 (const UTF8String &str_)
 Converts the given UTF-8 string to a UTF-16 string. More...
 
UTF32String hdi::core::strings::utf8ToUTF32 (const UTF8String &str_)
 Converts the given UTF-8 string to a UTF-32 string. More...
 
UTF8String hdi::core::strings::utf16ToUTF8 (const UTF16String &str_)
 Converts the given UTF-16 string to a UTF-8 string. More...
 
UTF32String hdi::core::strings::utf16ToUTF32 (const UTF16String &str_)
 Converts the given UTF-16 string to a UTF-32 string. More...
 
UTF8String hdi::core::strings::utf32ToUTF8 (const UTF32String &str_)
 Converts the given UTF-32 string to a UTF-8 string. More...
 
UTF16String hdi::core::strings::utf32ToUTF16 (const UTF32String &str_)
 Converts the given UTF-32 string to a UTF-16 string. More...
 

Detailed Description

Header file for Illustrator unicode string manipulation.