Rcpp Version 1.0.9
trimws.h File Reference
#include <string>
#include <cstring>
Include dependency graph for trimws.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Rcpp
 Rcpp API.
 
 Rcpp::sugar
 
 Rcpp::sugar::detail
 

Functions

bool Rcpp::sugar::detail::isws (const char c)
 
const char * Rcpp::sugar::detail::trim_left (const char *str)
 
const char * Rcpp::sugar::detail::trim_right (const char *str, R_len_t sz, std::string *buff)
 
const char * Rcpp::sugar::detail::trim_both (const char *str, R_len_t sz, std::string *buff)
 
Vector< STRSXP > Rcpp::trimws (const Vector< STRSXP > &x, const char *which="both")
 
Matrix< STRSXP > Rcpp::trimws (const Matrix< STRSXP > &x, const char *which="both")
 
String Rcpp::trimws (const String &str, const char *which="both")