1 \section{\class{wxString
}}\label{wxstring
}
3 \wxheading{Derived from
}
9 \overview{Overview
}{wxstringoverview
}
11 \latexignore{\rtfignore{\wxheading{Members
}}}
13 \membersection{wxString::wxString
}\label{wxstringconstruct
}
15 \func{}{wxString
}{\void}
19 \func{}{wxString
}{\param{const wxString\&
}{ x
}}
23 \func{}{wxString
}{\param{char
}{ ch
},
\param{size
\_t}{ n =
1}}
25 Constructs a string of
{\it n
} copies of character
{\it ch
}.
27 \func{}{wxString
}{\param{const char*
}{ psz
},
\param{size
\_t}{ nLength = STRING
\_MAXLEN}}
29 Takes first
{\it nLength
} characters from the C string
{\it psz
}.
30 The default value of STRING
\_MAXLEN means take all the string.
32 \func{}{wxString
}{\param{const unsigned char*
}{ psz
},
\param{size
\_t}{ nLength = STRING
\_MAXLEN}}
34 For compilers using unsigned char: takes first
{\it nLength
} characters from the C string
{\it psz
}.
35 The default value of STRING
\_MAXLEN means take all the string.
37 \func{}{wxString
}{\param{const wchar
\_t*
}{ psz
}}
39 Constructs a string from the wide (UNICODE) string.
41 \membersection{wxString::
\destruct{wxString
}}\label{wxstringdestruct
}
43 \func{}{\destruct{wxString
}}{\void}
45 String destructor. Note that this is not virtual, so wxString must not be inherited from.
47 \membersection{wxString::Alloc
}\label{wxstringAlloc
}
49 \func{void
}{Alloc
}{\param{uint
}{ newsize
}}
51 Preallocate some space for wxString. Only works if the data of this string is not shared.
53 \membersection{wxString::Append
}\label{wxstringAppend
}
55 \func{wxString\&
}{Append
}{\param{const char*
}{ psz
}}
57 Concatenates
{\it psz
} to this string, returning a reference to it.
59 \func{wxString\&
}{Append
}{\param{char
}{ ch
},
\param{int
}{ count =
1}}
61 Concatenates character
{\it ch
} to this string,
{\it count
} times, returning a reference
64 \membersection{wxString::After
}\label{wxstringAfter
}
66 \constfunc{wxString
}{After
}{\param{char
}{ ch
}}
68 Gets all the characters after the first occurence of
{\it ch
}.
69 Returns the empty string if
{\it ch
} is not found.
71 \membersection{wxString::Before
}\label{wxstringBefore
}
73 \constfunc{wxString
}{Before
}{\param{char
}{ ch
}}
75 Gets all characters before the last occurence of
{\it ch
}.
76 Returns empty string if
{\it ch
} is not found.
78 \membersection{wxString::CompareTo
}\label{wxstringCompareTo
}
81 #define NO_POS ((int)(-
1)) // undefined position
82 enum caseCompare
{exact, ignoreCase
};
85 \constfunc{int
}{CompareTo
}{\param{const char*
}{ psz
},
\param{caseCompare
}{ cmp = exact
}}
87 Case-sensitive comparison. Returns
0 if equal,
1 if greater or -
1 if less.
89 \membersection{wxString::Contains
}\label{wxstringContains
}
91 \func{bool
}{Contains
}{\param{const wxString\&
}{ str
}}
93 Returns
1 if target appears anyhere in wxString; else
0.
95 \membersection{wxString::IsEmpty
}\label{wxstringisempty
}
97 \constfunc{bool
}{IsEmpty
}{\void}
99 \membersection{wxString::First
}\label{wxstringfirst
}
101 \func{size
\_t}{First
}{\param{char
}{ c
}}
103 \constfunc{size
\_t}{First
}{\param{const char*
}{ psz
}}
105 \constfunc{size
\_t}{First
}{\param{const wxString\&
}{ str
}}
107 \constfunc{size
\_t}{First
}{\param{const char
}{ ch
}}
109 Returns first occurrence of item.
120 \membersection{wxString::Firstchar
}\label{wxstringFirstchar
}
121 \func{char
}{Firstchar
}{\param{void
}{}} \param{ const
}{}
125 \membersection{wxString::Freq
}\label{wxstringFreq
}
127 \func{int
}{Freq
}{\param{char
}{ c
}} \param{ const
}{}\\
128 \func{int
}{Freq
}{\param{const wxString\&
}{ y
}} \param{ const
}{}\\
129 \func{int
}{Freq
}{\param{const wxSubString\&
}{ y
}} \param{ const
}{}\\
130 \func{int
}{Freq
}{\param{const char*
}{ t
}} \param{ const
}{}
132 Return number of occurrences of target in wxString.
134 \membersection{wxString::From
}\label{wxstringFrom
}
136 \func{wxSubString
}{From
}{\param{int
}{ pos
}}\\
137 \func{wxSubString
}{From
}{\param{const wxString\&
}{ x
},
\param{int
}{ startpos =
0}}\\
138 \func{wxSubString
}{From
}{\param{const wxSubString\&
}{ x
},
\param{int
}{ startpos =
0}}\\
139 \func{wxSubString
}{From
}{\param{const char*
}{ t
},
\param{int
}{ startpos =
0}}\\
140 \func{wxSubString
}{From
}{\param{char
}{ c
},
\param{int
}{ startpos =
0}}\\
141 \func{wxSubString
}{From
}{\param{const wxRegex\&
}{ r
},
\param{int
}{ startpos =
0}}
143 \membersection{wxString::GetData
}\label{wxstringGetData
}
145 \func{char*
}{GetData
}{\param{void
}{}}
147 wxWindows compatibility conversion.
149 \membersection{wxString::GSub
}\label{wxstringGSub
}
150 \func{int
}{GSub
}{\param{const wxString\&
}{ pat
},
\param{const wxString\&
}{ repl
}}\\
151 \func{int
}{GSub
}{\param{const wxSubString\&
}{ pat
},
\param{const wxString\&
}{ repl
}}\\
152 \func{int
}{GSub
}{\param{const char*
}{ pat
},
\param{const wxString\&
}{ repl
}}\\
153 \func{int
}{GSub
}{\param{const char*
}{ pat
},
\param{const char*
}{ repl
}}\\
154 \func{int
}{GSub
}{\param{const wxRegex\&
}{ pat
},
\param{const wxString\&
}{ repl
}}
156 Global substitution: substitute all occurrences of
{\it pat
} with
{\it repl
},
157 returning the number of matches.
159 \membersection{wxString::Index
}\label{wxstringIndex
}
161 \func{int
}{Index
}{\param{char
}{ c
},
\param{int
}{ startpos =
0}} \param{ const
}{}\\
162 \func{int
}{Index
}{\param{const wxString\&
}{ y
},
\param{int
}{ startpos =
0}} \param{ const
}{}\\
163 \func{int
}{Index
}{\param{const wxString\&
}{ y
},
\param{int
}{ startpos
},
\param{CaseCompare
}{ cmp
}} \param{ const
}{}\\
164 \func{int
}{Index
}{\param{const wxSubString\&
}{ y
},
\param{int
}{ startpos =
0}} \param{ const
}{}\\
165 \func{int
}{Index
}{\param{const char*
}{ t
},
\param{int
}{ startpos =
0}} \param{ const
}{}\\
166 \func{int
}{Index
}{\param{const char*
}{ t
},
\param{int
}{ startpos
},
\param{CaseCompare
}{ cmp
}} \param{ const
}{}\\
167 \func{int
}{Index
}{\param{const wxRegex\&
}{ r
},
\param{int
}{ startpos =
0}} \param{ const
}{}
169 Return the position of target in string, or -
1 for failure.
171 \membersection{wxString::Insert
}\label{wxstringInsert
}
173 \func{wxString\&
}{Insert
}{\param{int
}{ pos
},
\param{const char*
}{ s
}}\\
174 \func{wxString\&
}{Insert
}{\param{int
}{ pos
},
\param{const wxString\&
}{ s
}}
178 \membersection{wxString::IsAscii
}\label{wxstringIsAscii
}
180 \func{int
}{IsAscii
}{\param{void
}{}} \param{ const
}{}
182 Classification (should be capital, because of ctype.h macros).
184 \membersection{wxString::IsDefined
}\label{wxstringIsDefined
}
186 \func{int
}{IsDefined
}{\param{void
}{}} \param{ const
}{}
188 Classification (should be capital, because of ctype.h macros).
190 \membersection{wxString::IsNull
}\label{wxstringIsNull
}
192 \func{int
}{IsNull
}{\param{void
}{}} \param{ const
}{}
194 Classification (should be capital, because of ctype.h macros).
196 \membersection{wxString::IsNumber
}\label{wxstringIsNumber
}
198 \func{int
}{IsNumber
}{\param{void
}{}} \param{ const
}{}
200 Classification (should be capital, because of ctype.h macros).
202 \membersection{wxString::IsWord
}\label{wxstringIsWord
}
204 \func{int
}{IsWord
}{\param{void
}{}} \param{ const
}{}
206 Classification (should be capital, because of ctype.h macros).
208 \membersection{wxString::Last
}\label{wxstringLast
}
210 \func{int
}{Last
}{\param{char
}{ c
}} \param{ const
}{}\\
211 \func{int
}{Last
}{\param{const char*
}{ cs
}} \param{ const
}{}\\
212 \func{int
}{Last
}{\param{const wxString\&
}{ cs
}} \param{ const
}{}
214 First or last occurrence of item.
216 \membersection{wxString::Lastchar
}\label{wxstringLastchar
}
218 \func{char
}{Lastchar
}{\param{void
}{}} \param{ const
}{}
222 \membersection{wxString::Length
}\label{wxstringLength
}
224 \func{unsigned int
}{Length
}{\param{void
}{}} \param{ const
}{}
226 \membersection{wxString::LowerCase
}\label{wxstringLowerCase
}
228 \func{void
}{LowerCase
}{\param{void
}{}}
230 \membersection{wxString::Matches
}\label{wxstringMatches
}
232 \func{bool
}{Matches
}{\param{char
}{ c
},
\param{int
}{ pos =
0}} \param{ const
}{}\\
233 \func{bool
}{Matches
}{\param{const wxString\&
}{ y
},
\param{int
}{ pos =
0}} \param{ const
}{}\\
234 \func{bool
}{Matches
}{\param{const wxSubString\&
}{ y
},
\param{int
}{ pos =
0}} \param{ const
}{}\\
235 \func{bool
}{Matches
}{\param{const char*
}{ t
},
\param{int
}{ pos =
0}} \param{ const
}{}\\
236 \func{bool
}{Matches
}{\param{const wxRegex\&
}{ r
},
\param{int
}{ pos =
0}} \param{ const
}{}
238 Return
1 if target appears at position
{\it pos
} in wxString; else
0.
240 \membersection{wxString::OK
}\label{wxstringOK
}
242 \func{int
}{OK
}{\param{void
}{}} \param{ const
}{}
244 \membersection{wxString::Prepend
}\label{wxstringPrepend
}
246 \func{wxString\&
}{Prepend
}{\param{const wxString\&
}{ y
}}\\
247 \func{wxString\&
}{Prepend
}{\param{const wxSubString\&
}{ y
}}\\
248 \func{wxString\&
}{Prepend
}{\param{const char*
}{ t
}}\\
249 \func{wxString\&
}{Prepend
}{\param{char
}{ c
}}
253 \func{wxString\&
}{Prepend
}{\param{char
}{ c
},
\param{int
}{ rep=
1}}
255 Prepend
{\it c
},
{\it rep
} times.
257 \membersection{wxString::Readline
}\label{wxstringReadline
}
259 \func{friend int
}{Readline
}{\param{istream\&
}{ s
},
\param{wxString\&
}{ x
},
260 \param{char
}{ terminator = '$
\backslash$n'
},
261 \param{int
}{ discard
\_terminator =
1}}\\
262 \func{friend int
}{Readline
}{\param{FILE *
}{ f
},
\param{wxString\&
}{ x
},
263 \param{char
}{ terminator = '$
\backslash$n'
},
264 \param{int
}{ discard
\_terminator =
1}}
266 \membersection{wxString::Remove
}\label{wxstringRemove
}
268 \func{wxString\&
}{RemoveLast
}{\param{void
}{}}\\
269 \func{wxString\&
}{Remove
}{\param{int
}{ pos
}}\\
270 \func{wxString\&
}{Remove
}{\param{int
}{ pos
},
\param{int
}{ len
}}
272 Remove
{\it pos
} to end of string.
274 \membersection{wxString::Replace
}\label{wxstringReplace
}
276 \func{wxString\&
}{Replace
}{\param{int
}{ pos
},
\param{int
}{ n
},
\param{const char*
}{ s
}}\\
277 \func{wxString\&
}{Replace
}{\param{int
}{ pos
},
\param{int
}{ n
},
\param{const wxString\&
}{ s
}}
279 \membersection{wxString::Replicate
}\label{wxstringReplicate
}
281 \func{friend wxString
}{Replicate
}{\param{char
}{ c
},
\param{int
}{ n
}}\\
282 \func{friend wxString
}{Replicate
}{\param{const wxString\&
}{ y
},
\param{int
}{ n
}}
286 \membersection{wxString::Reverse
}\label{wxstringReverse
}
288 \func{void
}{Reverse
}{\param{void
}{}}\\
289 \func{friend wxString
}{Reverse
}{\param{wxString\&
}{ x
}}
291 \membersection{wxString::sprintf
}\label{wxstringsprintf
}
292 \func{void
}{sprintf
}{\param{const wxString\&
}{ fmt
}}
294 Formatted assignment. We do not use the 'sprintf' constructor anymore,
295 because with that constructor, every initialisation with a string would
296 go through sprintf and this is not desirable, because sprintf
297 interprets some characters. With the above function we can write:
300 wxString msg; msg.sprintf("Processing item
%d\n", count);
303 \membersection{wxString::Strip
}\label{wxstringStrip
}
306 enumStripType
{leading =
0x1, trailing =
0x2, both =
0x3};
309 \func{wxSubString
}{Strip
}{\param{StripType
}{ s = trailing
},
\param{char
}{ c = ' '
}}
311 Strip characterss at the front and/or end.
312 StripType is defined for bitwise ORing.
314 \membersection{wxString::SubString
}\label{wxstringSubString
}
316 \func{wxString
}{SubString
}{\param{int
}{ from
},
\param{int
}{ to
}}
318 Edward Zimmermann's additions.
320 \membersection{wxString::Through
}\label{wxstringThrough
}
322 \func{wxSubString
}{Through
}{\param{int
}{ pos
}}\\
323 \func{wxSubString
}{Through
}{\param{const wxString\&
}{ x
},
\param{int
}{ startpos =
0}}\\
324 \func{wxSubString
}{Through
}{\param{const wxSubString\&
}{ x
},
\param{int
}{ startpos =
0}}\\
325 \func{wxSubString
}{Through
}{\param{const char*
}{ t
},
\param{int
}{ startpos =
0}}\\
326 \func{wxSubString
}{Through
}{\param{char
}{ c
},
\param{int
}{ startpos =
0}}\\
327 \func{wxSubString
}{Through
}{\param{const wxRegex\&
}{ r
},
\param{int
}{ startpos =
0}}
329 \membersection{wxString::Upcase
}\label{wxstringUpcase
}
331 \func{void
}{Upcase
}{\param{void
}{}}\\
332 \func{friend wxString
}{Upcase
}{\param{wxString\&
}{ x
}}
334 \membersection{wxString::UpperCase
}\label{wxstringUpperCase
}
336 \func{void
}{UpperCase
}{\param{void
}{}}\\
338 \membersection{wxString::operator $=$
}\label{wxstringoperatorassign
}
340 \func{wxString\&
}{operator $=$
}{\param{const wxString\&
}{ y
}}\\
341 \func{wxString\&
}{operator $=$
}{\param{const char*
}{ y
}}\\
342 \func{wxString\&
}{operator $=$
}{\param{char
}{ c
}}\\
343 \func{wxString\&
}{operator $=$
}{\param{const wxSubString\&
}{ y
}}
347 \membersection{wxString::operator $+=$
}\label{wxstringPlusEqual
}
349 \func{wxString\&
}{operator $+=$
}{\param{const wxString\&
}{ y
}}\\
350 \func{wxString\&
}{operator $+=$
}{\param{const wxSubString\&
}{ y
}}\\
351 \func{wxString\&
}{operator $+=$
}{\param{const char*
}{ t
}}\\
352 \func{wxString\&
}{operator $+=$
}{\param{char
}{ c
}}
356 \membersection{wxString::operator
[]}\label{wxstringoperatorbracket
}
358 \func{char\&
}{operator
[]}{\param{int
}{ i
}}
362 \membersection{wxString::operator ()
}\label{wxstringoperatorparenth
}
364 \func{char\&
}{operator ()
}{\param{int
}{ i
}}
366 \membersection{wxString::operator
\cinsert}\label{wxstringoperatorout
}
367 \func{friend ostream\&
}{operator
\cinsert}{\param{ostream\&
}{ s
},
\param{const wxString\&
}{ x
}}\\
368 \func{friend ostream\&
}{operator
\cinsert}{\param{ostream\&
}{ s
},
\param{const wxSubString\&
}{ x
}}
370 \membersection{wxString::operator
\cextract}\label{wxstringoperatorin
}
371 \func{friend istream\&
}{operator
\cextract}{\param{istream\&
}{ s
},
\param{wxString\&
}{ x
}}
373 \membersection{wxString::operator const char*
}\label{wxstringoperatorconstcharpt
}
374 \constfunc{}{operator const char*
}{\param{void
}{}}
378 \membersection{wxCHARARG
}\label{wxstringwxCHARARG
}
381 #define wxCHARARG(s) ((const wxString\& )(s).Chars())
384 Here is a very, very, very ugly macro, but it makes things more
385 transparent in cases, where a library function requires a
386 (const wxString\& ) argument. This is especially the case in wxWindows,
387 where all char-arguments are (const wxString\& ) and not (const char* ).
388 This macro should only be used in such cases and NOT to
389 modify the internal data.
390 The conventional way would be 'function((char*)string.Chars())'.
391 With the wxCHARARG macro, this can be achieved by 'function(wxCHARARG(string))'.
392 This makes it clearer that the usage should be confined
395 \membersection{CommonPrefix
}\label{wxstringCommonPrefix
}
397 \func{friend wxString
}{CommonPrefix
}{\param{const wxString\&
}{ x
},
\param{const wxString\&
}{ y
},\\
398 \param{int
}{ startpos =
0}}\\
400 \membersection{CommonSuffix
}\label{wxstringCommonSuffix
}
402 \func{friend wxString
}{CommonSuffix
}{\param{const wxString\&
}{ x
},
\param{const wxString\&
}{ y
},\\
403 \param{int
}{ startpos = -
1}}
405 \membersection{Compare
}\label{wxstringCompare
}
407 \func{int
}{Compare
}{\param{const wxString\&
}{ x
},
\param{const wxString\&
}{ y
}}\\
408 \func{int
}{Compare
}{\param{const wxString\&
}{ x
},
\param{const wxSubString\&
}{ y
}}\\
409 \func{int
}{Compare
}{\param{const wxString\&
}{ x
},
\param{const char*
}{ y
}}\\
410 \func{int
}{Compare
}{\param{const wxSubString\&
}{ x
},
\param{const wxString\&
}{ y
}}\\
411 \func{int
}{Compare
}{\param{const wxSubString\&
}{ x
},
\param{const wxSubString\&
}{ y
}}\\
412 \func{int
}{Compare
}{\param{const wxSubString\&
}{ x
},
\param{const char*
}{ y
}}
414 Case dependent comparison. Returns
0 if the match succeeded.
416 \membersection{FCompare
}\label{wxstringFCompare
}
418 \func{int
}{FCompare
}{\param{const wxString\&
}{ x
},
\param{const wxString\&
}{ y
}}
420 Case independent comparison. Returns
0 if the match succeeded.
422 \membersection{Comparison operators
}\label{wxstringComparison
}
424 \func{int
}{operator $==$
}{\param{const wxString\&
}{ x
},
\param{const wxString\&
}{ y
}}\\
425 \func{int
}{operator $!=$
}{\param{const wxString\&
}{ x
},
\param{const wxString\&
}{ y
}}\\
426 \func{int
}{operator $>$
}{\param{const wxString\&
}{ x
},
\param{const wxString\&
}{ y
}}\\
427 \func{int
}{operator $>=$
}{\param{const wxString\&
}{ x
},
\param{const wxString\&
}{ y
}}\\
428 \func{int
}{operator $<$
}{\param{const wxString\&
}{ x
},
\param{const wxString\&
}{ y
}}\\
429 \func{int
}{operator $<=$
}{\param{const wxString\&
}{ x
},
\param{const wxString\&
}{ y
}}\\
430 \func{int
}{operator $==$
}{\param{const wxString\&
}{ x
},
\param{const wxSubString\&
}{ y
}}\\
431 \func{int
}{operator $!=$
}{\param{const wxString\&
}{ x
},
\param{const wxSubString\&
}{ y
}}\\
432 \func{int
}{operator $>$
}{\param{const wxString\&
}{ x
},
\param{const wxSubString\&
}{ y
}}\\
433 \func{int
}{operator $>=$
}{\param{const wxString\&
}{ x
},
\param{const wxSubString\&
}{ y
}}\\
434 \func{int
}{operator $<$
}{\param{const wxString\&
}{ x
},
\param{const wxSubString\&
}{ y
}}\\
435 \func{int
}{operator $<=$
}{\param{const wxString\&
}{ x
},
\param{const wxSubString\&
}{ y
}}\\
436 \func{int
}{operator $==$
}{\param{const wxString\&
}{ x
},
\param{const char*
}{ t
}}\\
437 \func{int
}{operator $!=$
}{\param{const wxString\&
}{ x
},
\param{const char*
}{ t
}}\\
438 \func{int
}{operator $>$
}{\param{const wxString\&
}{ x
},
\param{const char*
}{ t
}}\\
439 \func{int
}{operator $>=$
}{\param{const wxString\&
}{ x
},
\param{const char*
}{ t
}}\\
440 \func{int
}{operator $<$
}{\param{const wxString\&
}{ x
},
\param{const char*
}{ t
}}\\
441 \func{int
}{operator $<=$
}{\param{const wxString\&
}{ x
},
\param{const char*
}{ t
}}\\
442 \func{int
}{operator $==$
}{\param{const wxSubString\&
}{ x
},
\param{const wxString\&
}{ y
}}\\
443 \func{int
}{operator $!=$
}{\param{const wxSubString\&
}{ x
},
\param{const wxString\&
}{ y
}}\\
444 \func{int
}{operator $>$
}{\param{const wxSubString\&
}{ x
},
\param{const wxString\&
}{ y
}}\\
445 \func{int
}{operator $>=$
}{\param{const wxSubString\&
}{ x
},
\param{const wxString\&
}{ y
}}\\
446 \func{int
}{operator $<$
}{\param{const wxSubString\&
}{ x
},
\param{const wxString\&
}{ y
}}\\
447 \func{int
}{operator $<=$
}{\param{const wxSubString\&
}{ x
},
\param{const wxString\&
}{ y
}}\\
448 \func{int
}{operator $==$
}{\param{const wxSubString\&
}{ x
},
\param{const wxSubString\&
}{ y
}}\\
449 \func{int
}{operator $!=$
}{\param{const wxSubString\&
}{ x
},
\param{const wxSubString\&
}{ y
}}\\
450 \func{int
}{operator $>$
}{\param{const wxSubString\&
}{ x
},
\param{const wxSubString\&
}{ y
}}\\
451 \func{int
}{operator $>=$
}{\param{const wxSubString\&
}{ x
},
\param{const wxSubString\&
}{ y
}}\\
452 \func{int
}{operator $<$
}{\param{const wxSubString\&
}{ x
},
\param{const wxSubString\&
}{ y
}}\\
453 \func{int
}{operator $<=$
}{\param{const wxSubString\&
}{ x
},
\param{const wxSubString\&
}{ y
}}\\
454 \func{int
}{operator $==$
}{\param{const wxSubString\&
}{ x
},
\param{const char*
}{ t
}}\\
455 \func{int
}{operator $!=$
}{\param{const wxSubString\&
}{ x
},
\param{const char*
}{ t
}}\\
456 \func{int
}{operator $>$
}{\param{const wxSubString\&
}{ x
},
\param{const char*
}{ t
}}\\
457 \func{int
}{operator $>=$
}{\param{const wxSubString\&
}{ x
},
\param{const char*
}{ t
}}\\
458 \func{int
}{operator $<$
}{\param{const wxSubString\&
}{ x
},
\param{const char*
}{ t
}}\\
459 \func{int
}{operator $<=$
}{\param{const wxSubString\&
}{ x
},
\param{const char*
}{ t
}}
461 \membersection{operator $+$
}\label{wxstringoperatorplus
}
463 \func{wxString
}{operator $+$
}{\param{const wxString\&
}{ x
},
\param{const wxString\&
}{ y
}}\\
464 \func{wxString
}{operator $+$
}{\param{const wxString\&
}{ x
},
\param{const wxSubString\&
}{ y
}}\\
465 \func{wxString
}{operator $+$
}{\param{const wxString\&
}{ x
},
\param{const char*
}{ y
}}\\
466 \func{wxString
}{operator $+$
}{\param{const wxString\&
}{ x
},
\param{char
}{ y
}}\\
467 \func{wxString
}{operator $+$
}{\param{const wxSubString\&
}{ x
},
\param{const wxString\&
}{ y
}}\\
468 \func{wxString
}{operator $+$
}{\param{const wxSubString\&
}{ x
},
\param{const wxSubString\&
}{ y
}}\\
469 \func{wxString
}{operator $+$
}{\param{const wxSubString\&
}{ x
},
\param{const char*
}{ y
}}\\
470 \func{wxString
}{operator $+$
}{\param{const wxSubString\&
}{ x
},
\param{char
}{ y
}}\\
471 \func{wxString
}{operator $+$
}{\param{const char*
}{ x
},
\param{const wxString\&
}{ y
}}\\
472 \func{wxString
}{operator $+$
}{\param{const char*
}{ x
},
\param{const wxSubString\&
}{ y
}}
474 \membersection{Join
}\label{wxstringJoin
}
476 \func{friend wxString
}{Join
}{\param{wxString
}{ src
[]},
\param{int
}{ n
},
\param{const wxString\&
}{ sep
}}
478 \membersection{Split
}\label{wxstringSplit
}
480 \func{friend int
}{Split
}{\param{const wxString\&
}{ x
},
\param{wxString
}{ res
[]},
\param{int
}{ maxn
},\\
481 \param{const wxString\&
}{ sep
}}\\
482 \func{friend int
}{Split
}{\param{const wxString\&
}{ x
},
\param{wxString
}{ res
[]},
\param{int
}{ maxn
},\\
483 \param{const wxRegex\&
}{ sep
}}\\
485 Split string into array res at separators; return number of elements