31 #define STRING_LIBRARY_VERSION 0x01200000 // Version 1.20
32 #define STRING_LIBRARY_TIME 1402069288 // 2014/6/07 00:41:28
44 void BufMore(
int newsize);
45 void create_number(
long val,
int print_type);
46 void create_fpnumber(
double val,
int fpdigit);
61 String(
const char str[]);
63 String(
const String &str);
65 String(
unsigned char val,
int print_type=DEC);
67 String(
unsigned long val,
int print_type=DEC);
69 String(
unsigned int val,
int print_type=DEC);
71 String(
long val,
int print_type=DEC);
73 String(
int val,
int print_type=DEC);
75 String(
double val,
int digit=2);
81 char charAt(
int n)
const;
84 int compareTo(
const String &str2)
const;
87 String concat(
const String &string2);
90 bool endsWith(
const String &string2)
const;
93 bool equals(
const String &string2)
const;
96 bool equalsIgnoreCase(
const String &string2)
const;
99 void getBytes(
char *buf,
int len)
const;
102 int indexOf(
char c,
int from=0)
const;
103 int indexOf(
const char str[],
int from=0)
const ;
104 int lastIndexOf(
char c,
int from=-1)
const;
105 int lastIndexOf(
const char str[],
int from=-1)
const ;
108 size_t length()
const;
111 String replace(
const String &from,
const String &to)
const;
114 void setCharAt(
int index,
char c);
117 bool startsWith(
const String &string2)
const;
120 String substring(
int from,
int to=-1)
const;
123 void toCharArray(
char *buf,
int len)
const;
126 String toLowerCase()
const;
129 String toUpperCase()
const;
138 String operator+(
const String& str2);
140 String& operator+=(
const String& str2);
142 bool operator==(
const String& str2);
144 String& operator=(
const String& str2);
146 char& operator[] (
unsigned int index);
Renesas RX62N/63N用のArduino互換ライブラリ