# svn_string_t functions
[String handling]

## Functions
svn_string_t * | svn_string_create (const char *cstring, apr_pool_t *pool)
| Create a new bytestring containing a C string (NULL-terminated).
svn_string_t * | svn_string_ncreate (const char *bytes, apr_size_t size, apr_pool_t *pool)
| Create a new bytestring containing a generic string of bytes (NOT NULL-terminated).
svn_string_t * | svn_string_create_from_buf (const svn_stringbuf_t *strbuf, apr_pool_t *pool)
| Create a new string with the contents of the given stringbuf.
svn_string_t * | svn_string_createf (apr_pool_t *pool, const char *fmt,...)
| Create a new bytestring by formatting cstring (NULL-terminated) from varargs, which are as appropriate for apr_psprintf().
svn_string_t * | svn_string_createv (apr_pool_t *pool, const char *fmt, va_list ap)
| Create a new bytestring by formatting cstring (NULL-terminated) from a `va_list` (see svn_stringbuf_createf()).
svn_boolean_t | svn_string_isempty (const svn_string_t *str)
| Return TRUE if a bytestring is empty (has length zero).
svn_string_t * | svn_string_dup (const svn_string_t *original_string, apr_pool_t *pool)
| Return a duplicate of original_string.
svn_boolean_t | svn_string_compare (const svn_string_t *str1, const svn_string_t *str2)
| Return `TRUE` iff str1 and str2 have identical length and data.
apr_size_t | svn_string_first_non_whitespace (const svn_string_t *str)
| Return offset of first non-whitespace character in str, or return str->len if none.
apr_size_t | svn_string_find_char_backward (const svn_string_t *str, char ch)
| Return position of last occurrence of ch in str, or return str->len if no occurrence.

## Function Documentation

svn_boolean_t svn_string_compare | ( | const svn_string_t * | str1,
|  | const svn_string_t * | str2 |
| ) |  |  |

Return `TRUE` iff str1 and str2 have identical length and data.

svn_string_t* svn_string_create | ( | const char * | cstring,
|  | apr_pool_t * | pool |
| ) |  |  |

Create a new bytestring containing a C string (NULL-terminated).

svn_string_t* svn_string_dup | ( | const svn_string_t * | original_string,
|  | apr_pool_t * | pool |
| ) |  |  |

Return a duplicate of original_string.

svn_boolean_t svn_string_isempty | ( | const svn_string_t * | str | ) |

Return TRUE if a bytestring is empty (has length zero).

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines