1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>wxWidgets: wxString Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="extra_stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="page_container">
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0" style="width: 100%;">
<tbody>
<tr>
<td id="projectlogo">
<a href="http://www.wxwidgets.org/" target="_new">
<img alt="wxWidgets" src="logo.png"/>
</a>
</td>
<td style="padding-left: 0.5em; text-align: right;">
<span id="projectnumber">Version: 3.0.2</span>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Generated by Doxygen 1.8.2 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Categories</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="classes.html"><span>Class Index</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-static-methods">Static Public Member Functions</a> |
<a href="#pub-static-attribs">Static Public Attributes</a> |
<a href="classwx_string-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">wxString Class Reference<div class="ingroups"><a class="el" href="group__group__class__data.html">Data Structures</a></div></div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include <wx/string.h></code></p>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>String class for passing textual data to or receiving it from wxWidgets. </p>
<dl class="section note"><dt>Note</dt><dd>While the use of <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> is unavoidable in wxWidgets program, you are encouraged to use the standard string classes <code>std::string</code> or <code>std::wstring</code> in your applications and convert them to and from <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> only when interacting with wxWidgets.</dd></dl>
<p><a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> is a class representing a Unicode character string but with methods taking or returning both <code>wchar_t</code> wide characters and <code>wchar_t*</code> wide strings and traditional <code>char</code> characters and <code>char*</code> strings. The dual nature of <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> API makes it simple to use in all cases and, importantly, allows the code written for either ANSI or Unicode builds of the previous wxWidgets versions to compile and work correctly with the single unified Unicode build of wxWidgets 3.0. It is also mostly transparent when using <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> with the few exceptions described below.</p>
<h1><a class="anchor" id="string_api"></a>
API overview</h1>
<p><a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> tries to be similar to both <code>std::string</code> and <code>std::wstring</code> and can mostly be used as either class. It provides practically all of the methods of these classes, which behave exactly the same as in the standard C++, and so are not documented here (please see any standard library documentation, for example <a href="http://en.cppreference.com/w/cpp/string">http://en.cppreference.com/w/cpp/string</a> for more details).</p>
<p>In addition to these standard methods, <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> adds functions dealing with the conversions between different string encodings, described below, as well as many extra helpers such as functions for formatted output (<a class="el" href="classwx_string.html#a9588b7f2684b9a6a924dc3746a2b2f8d" title="Similar to the standard function sprintf().">Printf()</a>, <a class="el" href="classwx_string.html#addd9ccfa3ae2b7ab2d66bcbf034d0be0" title="This static function returns the string containing the result of calling Printf() with the passed par...">Format()</a>, ...), case conversion (<a class="el" href="classwx_string.html#af862e46d093e1e52fbc4f204e9aea34f" title="Converts all characters to upper case and returns the reference to the modified string.">MakeUpper()</a>, <a class="el" href="classwx_string.html#a88592121dde64b682cd67d30bfc9b45f" title="Return the copy of the string with the first string character in the upper case and the subsequent on...">Capitalize()</a>, ...) and various others (<a class="el" href="classwx_string.html#aefd36feb8f3c36edcf3322f84de0bfc4" title="Removes white-space (space, tabs, form feed, newline and carriage return) from the left or from the r...">Trim()</a>, <a class="el" href="classwx_string.html#a627b084ee8088734e1b28ee23d67f7bb" title="This function can be used to test if the string starts with the specified prefix.">StartsWith()</a>, <a class="el" href="classwx_string.html#a0fef65e3bf7f77fa6858521f29a84e20" title="Returns true if the string contents matches a mask containing '*' and '?'.">Matches()</a>, ...). All of the non-standard methods follow wxWidgets "CamelCase" naming convention and are documented here.</p>
<p>Notice that some <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> methods exist in several versions for compatibility reasons. For example all of <a class="el" href="classwx_string.html#af63f200410b56436a830550905e20539">length()</a>, <a class="el" href="classwx_string.html#a8895cca03120099236c002c0577b4d1c" title="Returns the length of the string (same as Len).">Length()</a> and <a class="el" href="classwx_string.html#ab20a87ca731a52c36ec674dae2213ad8" title="Returns the length of the string.">Len()</a> are provided. In such cases it is recommended to use the standard string-like method, i.e. <a class="el" href="classwx_string.html#af63f200410b56436a830550905e20539">length()</a> in this case.</p>
<h1><a class="anchor" id="string_conv"></a>
Converting to and from wxString</h1>
<p><a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> can be created from:</p>
<ul>
<li>ASCII string guaranteed to contain only 7 bit characters using <a class="el" href="classwx_string.html#a717327d279426293270c16b980d6d6aa" title="Converts the string or character from an ASCII, 7-bit form to the native wxString representation...">wxString::FromAscii()</a>.</li>
<li>Narrow <code>char*</code> string in the current locale encoding using implicit <a class="el" href="classwx_string.html#a0ec94790ea7b08344537f5cf893476f8" title="Constructs a string from the string literal psz using the current locale encoding to convert it to Un...">wxString::wxString(const char*)</a> constructor.</li>
<li>Narrow <code>char*</code> string in UTF-8 encoding using <a class="el" href="classwx_string.html#a2ddc1b7c8e1eb9adbf5874dead5b180b" title="Converts C string encoded in UTF-8 to wxString.">wxString::FromUTF8()</a>.</li>
<li>Narrow <code>char*</code> string in the given encoding using <a class="el" href="classwx_string.html#a96d8fedae47a282c685c6af0dfa3728c" title="Constructs a string from the string literal psz using conv to convert it Unicode.">wxString::wxString(const char*, const wxMBConv&)</a> constructor passing a <a class="el" href="classwx_c_s_conv.html" title="This class converts between any character set supported by the system and Unicode.">wxCSConv</a> corresponding to the encoding as the second argument.</li>
<li>Standard <code>std::string</code> using implicit <a class="el" href="classwx_string.html#a55431c6ae13bf65166c5ebf499d3c135" title="Default constructor.">wxString::wxString</a>(const std::string&) constructor. Notice that this constructor supposes that the string contains data in the current locale encoding, use <a class="el" href="classwx_string.html#a2ddc1b7c8e1eb9adbf5874dead5b180b" title="Converts C string encoded in UTF-8 to wxString.">FromUTF8()</a> or the constructor taking <a class="el" href="classwx_m_b_conv.html" title="This class is the base class of a hierarchy of classes capable of converting text strings between mul...">wxMBConv</a> if this is not the case.</li>
<li>Wide <code>wchar_t*</code> string using implicit <a class="el" href="classwx_string.html#a55431c6ae13bf65166c5ebf499d3c135" title="Default constructor.">wxString::wxString</a>(const wchar_t*) constructor.</li>
<li>Standard <code>std::wstring</code> using implicit <a class="el" href="classwx_string.html#a55431c6ae13bf65166c5ebf499d3c135" title="Default constructor.">wxString::wxString</a>(const std::wstring&) constructor.</li>
</ul>
<p>Notice that many of the constructors are implicit, meaning that you don't even need to write them at all to pass the existing string to some wxWidgets function taking a <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a>.</p>
<p>Similarly, <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> can be converted to:</p>
<ul>
<li>ASCII string using <a class="el" href="classwx_string.html#a2fec30dc8959d4fd3a56cd148bf1e57a" title="Converts the string to an ASCII, 7-bit string in the form of a wxCharBuffer (Unicode builds only) or ...">wxString::ToAscii()</a>. This is a potentially destructive operation as all non-ASCII string characters are replaced with a placeholder character.</li>
<li>String in the current locale encoding implicitly or using <a class="el" href="classwx_string.html#a6418ec90c6d4ffe0b05702be1b35df4f" title="Returns a lightweight intermediate class which is in turn implicitly convertible to both const char* ...">c_str()</a> or <a class="el" href="classwx_string.html#adcfd12e6d0765b1d74bccc3d63d02e98" title="Returns the multibyte (C string) representation of the string using conv's wxMBConv::cWC2MB method an...">mb_str()</a> methods. This is a potentially destructive operation as an <em>empty</em> string is returned if the conversion fails.</li>
<li>String in UTF-8 encoding using <a class="el" href="classwx_string.html#ad71e3ded85939db8af9eeadfa02719ac" title="Converts the strings contents to UTF-8 and returns it either as a temporary wxCharBuffer object or as...">wxString::utf8_str()</a>.</li>
<li>String in any given encoding using <a class="el" href="classwx_string.html#adcfd12e6d0765b1d74bccc3d63d02e98" title="Returns the multibyte (C string) representation of the string using conv's wxMBConv::cWC2MB method an...">mb_str()</a> with the appropriate <a class="el" href="classwx_m_b_conv.html" title="This class is the base class of a hierarchy of classes capable of converting text strings between mul...">wxMBConv</a> object. This is also a potentially destructive operation.</li>
<li>Standard <code>std::string</code> using <a class="el" href="classwx_string.html#a3c764622c960389c4d8c9e21e13bddc7" title="Return the string as an std::string in current locale encoding.">wxString::ToStdString()</a>. The contents of the returned string use the current locale encoding, so this conversion is potentially destructive as well.</li>
<li>Wide C string using <a class="el" href="classwx_string.html#a6cd4782263a3ed4064eca915eb6e27e6" title="Converts the strings contents to the wide character representation and returns it as a temporary wxWC...">wxString::wc_str()</a>.</li>
<li>Standard <code>std::wstring</code> using <a class="el" href="classwx_string.html#acd4ba44e34428aa83cd9922d2933d060" title="Return the string as an std::wstring.">wxString::ToStdWstring()</a>.</li>
</ul>
<dl class="section note"><dt>Note</dt><dd>If you built wxWidgets with <code>wxUSE_STL</code> set to 1, the implicit conversions to both narrow and wide C strings are disabled and replaced with implicit conversions to <code>std::string</code> and <code>std::wstring</code>.</dd></dl>
<p>Please notice that the conversions marked as "potentially destructive" above can result in loss of data if their result is not checked, so you need to verify that converting the contents of a non-empty Unicode string to a non-UTF-8 multibyte encoding results in non-empty string. The simplest and best way to ensure that the conversion never fails is to always use UTF-8.</p>
<h1><a class="anchor" id="string_gotchas"></a>
Traps for the unwary</h1>
<p>As mentioned above, <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> tries to be compatible with both narrow and wide standard string classes and mostly does it transparently, but there are some exceptions.</p>
<h2><a class="anchor" id="string_gotchas_element"></a>
String element access</h2>
<p>Some problems are caused by <a class="el" href="classwx_string.html#abdf1bada2f023c6ae8023a1e4b523aa9" title="Returns the i-th character of the string.">wxString::operator[]()</a> which returns an object of a special proxy class allowing to assign either a simple <code>char</code> or a <code>wchar_t</code> to the given index. Because of this, the return type of this operator is neither <code>char</code> nor <code>wchar_t</code> nor a reference to one of these types but <a class="el" href="classwx_uni_char_ref.html" title="Writeable reference to a character in wxString.">wxUniCharRef</a> which is not a primitive type and hence can't be used in the <code>switch</code> statement. So the following code does <em>not</em> compile </p>
<div class="fragment"><div class="line"><a class="code" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> s(...);</div>
<div class="line"><span class="keywordflow">switch</span> ( s[n] ) {</div>
<div class="line"> <span class="keywordflow">case</span> <span class="charliteral">'A'</span>:</div>
<div class="line"> ...</div>
<div class="line"> <span class="keywordflow">break</span>;</div>
<div class="line">}</div>
</div><!-- fragment --><p> and you need to use </p>
<div class="fragment"><div class="line"><span class="keywordflow">switch</span> ( s[n].GetValue() ) {</div>
<div class="line"> ...</div>
<div class="line">}</div>
</div><!-- fragment --><p> instead. Alternatively, you can use an explicit cast: </p>
<div class="fragment"><div class="line"><span class="keywordflow">switch</span> ( static_cast<char>(s[n]) ) {</div>
<div class="line"> ...</div>
<div class="line">}</div>
</div><!-- fragment --><p> but notice that this will result in an assert failure if the character at the given position is not representable as a single <code>char</code> in the current encoding, so you may want to cast to <code>int</code> instead if non-ASCII values can be used.</p>
<p>Another consequence of this unusual return type arises when it is used with template deduction or C++11 <code>auto</code> keyword. Unlike with the normal references which are deduced to be of the referenced type, the deduced type for <a class="el" href="classwx_uni_char_ref.html" title="Writeable reference to a character in wxString.">wxUniCharRef</a> is <a class="el" href="classwx_uni_char_ref.html" title="Writeable reference to a character in wxString.">wxUniCharRef</a> itself. This results in potentially unexpected behaviour, for example: </p>
<div class="fragment"><div class="line"><a class="code" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> s(<span class="stringliteral">"abc"</span>);</div>
<div class="line"><span class="keyword">auto</span> c = s[0];</div>
<div class="line">c = <span class="charliteral">'x'</span>; <span class="comment">// Modifies the string!</span></div>
<div class="line"><a class="code" href="group__group__funcmacro__debug.html#ga204cc264ee560b67e6c6467ba8ffee5f" title="Assert macro.">wxASSERT</a>( s == <span class="stringliteral">"xbc"</span> );</div>
</div><!-- fragment --><p> Due to this, either explicitly specify the variable type: </p>
<div class="fragment"><div class="line"><span class="keywordtype">int</span> c = s[0];</div>
<div class="line">c = <span class="charliteral">'x'</span>; <span class="comment">// Doesn't modify the string any more.</span></div>
<div class="line"><a class="code" href="group__group__funcmacro__debug.html#ga204cc264ee560b67e6c6467ba8ffee5f" title="Assert macro.">wxASSERT</a>( s == <span class="stringliteral">"abc"</span> );</div>
</div><!-- fragment --><p> or explicitly convert the return value: </p>
<div class="fragment"><div class="line"><span class="keyword">auto</span> c = s[0].GetValue();</div>
<div class="line">c = <span class="charliteral">'x'</span>; <span class="comment">// Doesn't modify the string neither.</span></div>
<div class="line"><a class="code" href="group__group__funcmacro__debug.html#ga204cc264ee560b67e6c6467ba8ffee5f" title="Assert macro.">wxASSERT</a>( s == <span class="stringliteral">"abc"</span> );</div>
</div><!-- fragment --><h2><a class="anchor" id="string_gotchas_conv"></a>
Conversion to C string</h2>
<p>A different class of problems happens due to the dual nature of the return value of <a class="el" href="classwx_string.html#a6418ec90c6d4ffe0b05702be1b35df4f" title="Returns a lightweight intermediate class which is in turn implicitly convertible to both const char* ...">wxString::c_str()</a> method, which is also used for implicit conversions. The result of calls to this method is convertible to either narrow <code>char*</code> string or wide <code>wchar_t*</code> string and so, again, has neither the former nor the latter type. Usually, the correct type will be chosen depending on how you use the result but sometimes the compiler can't choose it because of an ambiguity, e.g.: </p>
<div class="fragment"><div class="line"><span class="comment">// Some non-wxWidgets functions existing for both narrow and wide</span></div>
<div class="line"><span class="comment">// strings:</span></div>
<div class="line"><span class="keywordtype">void</span> dump_text(<span class="keyword">const</span> <span class="keywordtype">char</span>* text); <span class="comment">// Version (1)</span></div>
<div class="line"><span class="keywordtype">void</span> dump_text(<span class="keyword">const</span> <span class="keywordtype">wchar_t</span>* text); <span class="comment">// Version (2)</span></div>
<div class="line"></div>
<div class="line"><a class="code" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> s(...);</div>
<div class="line">dump_text(s); <span class="comment">// ERROR: ambiguity.</span></div>
<div class="line">dump_text(s.<a class="code" href="classwx_string.html#a6418ec90c6d4ffe0b05702be1b35df4f" title="Returns a lightweight intermediate class which is in turn implicitly convertible to both const char* ...">c_str</a>()); <span class="comment">// ERROR: still ambiguous.</span></div>
</div><!-- fragment --><p> In this case you need to explicitly convert to the type that you need to use or use a different, non-ambiguous, conversion function (which is usually the best choice): </p>
<div class="fragment"><div class="line">dump_text(static_cast<const char*>(s)); <span class="comment">// OK, calls (1)</span></div>
<div class="line">dump_text(static_cast<const wchar_t*>(s.<a class="code" href="classwx_string.html#a6418ec90c6d4ffe0b05702be1b35df4f" title="Returns a lightweight intermediate class which is in turn implicitly convertible to both const char* ...">c_str</a>())); <span class="comment">// OK, calls (2)</span></div>
<div class="line">dump_text(s.<a class="code" href="classwx_string.html#adcfd12e6d0765b1d74bccc3d63d02e98" title="Returns the multibyte (C string) representation of the string using conv's wxMBConv::cWC2MB method an...">mb_str</a>()); <span class="comment">// OK, calls (1)</span></div>
<div class="line">dump_text(s.<a class="code" href="classwx_string.html#a6cd4782263a3ed4064eca915eb6e27e6" title="Converts the strings contents to the wide character representation and returns it as a temporary wxWC...">wc_str</a>()); <span class="comment">// OK, calls (2)</span></div>
<div class="line">dump_text(s.<a class="code" href="classwx_string.html#a667b135c20008042653f82b739f6c3ab" title="Explicit conversion to C string in the internal representation (either wchar_t* or UTF-8-encoded char...">wx_str</a>()); <span class="comment">// OK, calls ???</span></div>
</div><!-- fragment --><h2><a class="anchor" id="string_vararg"></a>
Using wxString with vararg functions</h2>
<p>A special subclass of the problems arising due to the polymorphic nature of <a class="el" href="classwx_string.html#a6418ec90c6d4ffe0b05702be1b35df4f" title="Returns a lightweight intermediate class which is in turn implicitly convertible to both const char* ...">wxString::c_str()</a> result type happens when using functions taking an arbitrary number of arguments, such as the standard <code>printf()</code>. Due to the rules of the C++ language, the types for the "variable" arguments of such functions are not specified and hence the compiler cannot convert <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> objects, or the objects returned by <a class="el" href="classwx_string.html#a6418ec90c6d4ffe0b05702be1b35df4f" title="Returns a lightweight intermediate class which is in turn implicitly convertible to both const char* ...">wxString::c_str()</a>, to these unknown types automatically. Hence neither <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> objects nor the results of most of the conversion functions can be passed as vararg arguments: </p>
<div class="fragment"><div class="line"><span class="comment">// ALL EXAMPLES HERE DO NOT WORK, DO NOT USE THEM!</span></div>
<div class="line">printf(<span class="stringliteral">"Don't do this: %s"</span>, s);</div>
<div class="line">printf(<span class="stringliteral">"Don't do that: %s"</span>, s.<a class="code" href="classwx_string.html#a6418ec90c6d4ffe0b05702be1b35df4f" title="Returns a lightweight intermediate class which is in turn implicitly convertible to both const char* ...">c_str</a>());</div>
<div class="line">printf(<span class="stringliteral">"Nor even this: %s"</span>, s.<a class="code" href="classwx_string.html#adcfd12e6d0765b1d74bccc3d63d02e98" title="Returns the multibyte (C string) representation of the string using conv's wxMBConv::cWC2MB method an...">mb_str</a>());</div>
<div class="line">wprintf(<span class="stringliteral">"And even not always this: %s"</span>, s.<a class="code" href="classwx_string.html#a6cd4782263a3ed4064eca915eb6e27e6" title="Converts the strings contents to the wide character representation and returns it as a temporary wxWC...">wc_str</a>());</div>
</div><!-- fragment --><p> Instead you need to either explicitly cast to the needed type: </p>
<div class="fragment"><div class="line"><span class="comment">// These examples work but are not the best solution, see below.</span></div>
<div class="line">printf(<span class="stringliteral">"You can do this: %s"</span>, static_cast<const char*>(s));</div>
<div class="line">printf(<span class="stringliteral">"Or this: %s"</span>, static_cast<const char*>(s.<a class="code" href="classwx_string.html#a6418ec90c6d4ffe0b05702be1b35df4f" title="Returns a lightweight intermediate class which is in turn implicitly convertible to both const char* ...">c_str</a>()));</div>
<div class="line">printf(<span class="stringliteral">"And this: %s"</span>, static_cast<const char*>(s.<a class="code" href="classwx_string.html#adcfd12e6d0765b1d74bccc3d63d02e98" title="Returns the multibyte (C string) representation of the string using conv's wxMBConv::cWC2MB method an...">mb_str</a>()));</div>
<div class="line">wprintf(<span class="stringliteral">"Or this: %s"</span>, static_cast<const wchar_t*>(s.<a class="code" href="classwx_string.html#a6cd4782263a3ed4064eca915eb6e27e6" title="Converts the strings contents to the wide character representation and returns it as a temporary wxWC...">wc_str</a>()));</div>
</div><!-- fragment --><p> But a better solution is to use wxWidgets-provided functions, if possible, as is the case for <code>printf</code> family of functions: </p>
<div class="fragment"><div class="line"><span class="comment">// This is the recommended way.</span></div>
<div class="line">wxPrintf(<span class="stringliteral">"You can do just this: %s"</span>, s);</div>
<div class="line">wxPrintf(<span class="stringliteral">"And this (but it is redundant): %s"</span>, s.<a class="code" href="classwx_string.html#a6418ec90c6d4ffe0b05702be1b35df4f" title="Returns a lightweight intermediate class which is in turn implicitly convertible to both const char* ...">c_str</a>());</div>
<div class="line">wxPrintf(<span class="stringliteral">"And this (not using Unicode): %s"</span>, s.<a class="code" href="classwx_string.html#adcfd12e6d0765b1d74bccc3d63d02e98" title="Returns the multibyte (C string) representation of the string using conv's wxMBConv::cWC2MB method an...">mb_str</a>());</div>
<div class="line">wxPrintf(<span class="stringliteral">"And this (always Unicode): %s"</span>, s.<a class="code" href="classwx_string.html#a6cd4782263a3ed4064eca915eb6e27e6" title="Converts the strings contents to the wide character representation and returns it as a temporary wxWC...">wc_str</a>());</div>
</div><!-- fragment --><p> Notice that wxPrintf() replaces both <code>printf()</code> and <code>wprintf()</code> and accepts <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> objects, results of <a class="el" href="classwx_string.html#a6418ec90c6d4ffe0b05702be1b35df4f" title="Returns a lightweight intermediate class which is in turn implicitly convertible to both const char* ...">c_str()</a> calls but also <code>char*</code> and <code>wchar_t*</code> strings directly.</p>
<p>wxWidgets provides wx-prefixed equivalents to all the standard vararg functions and a few more, notably <a class="el" href="classwx_string.html#addd9ccfa3ae2b7ab2d66bcbf034d0be0" title="This static function returns the string containing the result of calling Printf() with the passed par...">wxString::Format()</a>, <a class="el" href="group__group__funcmacro__log.html#ga249358701f3c2d410088ddf7a61d8564" title="For all normal, informational messages.">wxLogMessage()</a>, <a class="el" href="group__group__funcmacro__log.html#ga0dd3c633f990f794e76065c9a7af4c87" title="The functions to use for error messages, i.e.">wxLogError()</a> and other log functions. But if you can't use one of those functions and need to pass <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> objects to non-wx vararg functions, you need to use the explicit casts as explained above.</p>
<h1><a class="anchor" id="string_performance"></a>
Performance characteristics</h1>
<p><a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> uses <code>std::basic_string</code> internally to store its content (unless this is not supported by the compiler or disabled specifically when building wxWidgets) and it therefore inherits many features from <code>std::basic_string</code>. In particular, most modern implementations of <code>std::basic_string</code> are thread-safe and don't use reference counting (making copying large strings potentially expensive) and so <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> has the same characteristics.</p>
<p>By default, <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> uses <code>std::basic_string</code> specialized for the platform-dependent <code>wchar_t</code> type, meaning that it is not memory-efficient for ASCII strings, especially under Unix platforms where every ASCII character, normally fitting in a byte, is represented by a 4 byte <code>wchar_t</code>.</p>
<p>It is possible to build wxWidgets with <code>wxUSE_UNICODE_UTF8</code> set to 1 in which case an UTF-8-encoded string representation is stored in <code>std::basic_string</code> specialized for <code>char</code>, i.e. the usual <code>std::string</code>. In this case the memory efficiency problem mentioned above doesn't arise but run-time performance of many <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> methods changes dramatically, in particular accessing the N-th character of the string becomes an operation taking O(N) time instead of O(1), i.e. constant, time by default. Thus, if you do use this so called UTF-8 build, you should avoid using indices to access the strings whenever possible and use the iterators instead. As an example, traversing the string using iterators is an O(N), where N is the string length, operation in both the normal ("wchar_t") and UTF-8 builds but doing it using indices becomes O(N^2) in UTF-8 case meaning that simply checking every character of a reasonably long (e.g. a couple of millions elements) string can take an unreasonably long time.</p>
<p>However, if you do use iterators, UTF-8 build can be a better choice than the default build, especially for the memory-constrained embedded systems. Notice also that GTK+ and DirectFB use UTF-8 internally, so using this build not only saves memory for ASCII strings but also avoids conversions between wxWidgets and the underlying toolkit.</p>
<h1><a class="anchor" id="string_index"></a>
Index of the member groups</h1>
<p>Links for quick access to the various categories of <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> functions:</p>
<ul>
<li><a href="#ctor" class="el">Constructors and assignment operators</a></li>
<li><a href="#length" class="el">Length functions</a></li>
<li><a href="#ch_access" class="el">Character access functions</a></li>
<li><a href="#conv" class="el">Conversions functions</a></li>
<li><a href="#concat" class="el">Concatenation functions</a></li>
<li><a href="#cmp" class="el">Comparison functions</a></li>
<li><a href="#substring" class="el">Substring extraction functions</a></li>
<li><a href="#caseconv" class="el">Case conversion functions</a></li>
<li><a href="#search" class="el">Searching and replacing functions</a></li>
<li><a href="#numconv" class="el">Conversion to numbers functions</a></li>
<li><a href="#fmt" class="el">Formatting and printing functions</a></li>
<li><a href="#mem" class="el">Memory management functions</a></li>
<li><a href="#misc" class="el">Miscellaneous functions</a></li>
<li><a href="#iter" class="el">Iterator interface functions</a></li>
<li><a href="#stl" class="el">STL interface functions</a></li>
</ul>
<h2></h2>
<div><span class="lib">Library:</span>  <span class="lib_text"><a class="el" href="page_libs.html#page_libs_wxbase">wxBase</a></span></div><div><span class="category">Category:</span>  <span class="category_text"><a class="el" href="group__group__class__data.html">Data Structures</a></span></div><p><span class="stdobj">Predefined objects/pointers:</span> <a class="el" href="interface_2wx_2string_8h.html#a9a321d587166a30017b608dd2d234033" title="The global wxString instance of an empty string.">wxEmptyString</a></p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="overview_string.html">wxString Overview</a>, <a class="el" href="overview_unicode.html">Unicode Support in wxWidgets</a>, <a class="el" href="group__group__funcmacro__string.html">String-related functions</a>, <a class="el" href="classwx_u_string.html" title="wxUString is a class representing a Unicode character string where each character is stored using a 3...">wxUString</a>, <a class="el" href="classwx_char_buffer.html" title="This is a specialization of wxCharTypeBuffer<T> for char type.">wxCharBuffer</a>, <a class="el" href="classwx_uni_char.html" title="This class represents a single Unicode character.">wxUniChar</a>, <a class="el" href="classwx_string_tokenizer.html" title="wxStringTokenizer helps you to break a string up into a number of tokens.">wxStringTokenizer</a>, <a class="el" href="classwx_string_buffer.html" title="This tiny class allows you to conveniently access the wxString internal buffer as a writable pointer ...">wxStringBuffer</a>, <a class="el" href="classwx_string_buffer_length.html" title="This tiny class allows you to conveniently access the wxString internal buffer as a writable pointer ...">wxStringBufferLength</a> </dd></dl>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Standard types</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p>Types used with <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a>. </p>
</div></td></tr>
<tr class="memitem:a6abd360d5072ed411f80eda16ed0bd99"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classwx_uni_char.html">wxUniChar</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a6abd360d5072ed411f80eda16ed0bd99">value_type</a></td></tr>
<tr class="separator:a6abd360d5072ed411f80eda16ed0bd99"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6d7f9c6d210daec80bb59763e3016516"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classwx_uni_char.html">wxUniChar</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a6d7f9c6d210daec80bb59763e3016516">char_type</a></td></tr>
<tr class="separator:a6d7f9c6d210daec80bb59763e3016516"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1d03e8507f5f2044d9776255cb5dfb04"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classwx_uni_char_ref.html">wxUniCharRef</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a1d03e8507f5f2044d9776255cb5dfb04">reference</a></td></tr>
<tr class="separator:a1d03e8507f5f2044d9776255cb5dfb04"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6d1498f58142e40d885b1bda1ec25c83"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="group__group__funcmacro__string.html#gad42f64d8c82f1ce4ae58773a89b2d6a7">wxChar</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a6d1498f58142e40d885b1bda1ec25c83">pointer</a></td></tr>
<tr class="separator:a6d1498f58142e40d885b1bda1ec25c83"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9c8b22db8c1446c53f1728c261d2d65b"><td class="memItemLeft" align="right" valign="top">typedef const <a class="el" href="group__group__funcmacro__string.html#gad42f64d8c82f1ce4ae58773a89b2d6a7">wxChar</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a9c8b22db8c1446c53f1728c261d2d65b">const_pointer</a></td></tr>
<tr class="separator:a9c8b22db8c1446c53f1728c261d2d65b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afc144b1e31fffd1a9fc6ba8a551cc073"><td class="memItemLeft" align="right" valign="top">typedef size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#afc144b1e31fffd1a9fc6ba8a551cc073">size_type</a></td></tr>
<tr class="separator:afc144b1e31fffd1a9fc6ba8a551cc073"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afd79e86aee78b7aab5e82483ab8d7a57"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classwx_uni_char.html">wxUniChar</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#afd79e86aee78b7aab5e82483ab8d7a57">const_reference</a></td></tr>
<tr class="separator:afd79e86aee78b7aab5e82483ab8d7a57"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Constructors and assignment operators</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="ctor"></a></p>
<p>A string may be constructed either from a C string, (some number of copies of) a single character or a wide (Unicode) string.</p>
<p>For all constructors (except the default which creates an empty string) there is also a corresponding assignment operator.</p>
<p>See also the <a class="el" href="classwx_string.html#aa621f3bc053edf813635f448022d14df">assign()</a> STL-like function. </p>
</div></td></tr>
<tr class="memitem:a55431c6ae13bf65166c5ebf499d3c135"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a55431c6ae13bf65166c5ebf499d3c135">wxString</a> ()</td></tr>
<tr class="memdesc:a55431c6ae13bf65166c5ebf499d3c135"><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <a href="#a55431c6ae13bf65166c5ebf499d3c135"></a><br/></td></tr>
<tr class="separator:a55431c6ae13bf65166c5ebf499d3c135"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa4133e804efc7d6a7615f1720697d2f0"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#aa4133e804efc7d6a7615f1720697d2f0">wxString</a> (const <a class="el" href="classwx_string.html">wxString</a> &stringSrc)</td></tr>
<tr class="memdesc:aa4133e804efc7d6a7615f1720697d2f0"><td class="mdescLeft"> </td><td class="mdescRight">Creates a string from another string. <a href="#aa4133e804efc7d6a7615f1720697d2f0"></a><br/></td></tr>
<tr class="separator:aa4133e804efc7d6a7615f1720697d2f0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a791f5885a0950a41ee76eddc2534a5f3"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a791f5885a0950a41ee76eddc2534a5f3">wxString</a> (<a class="el" href="classwx_uni_char.html">wxUniChar</a> ch, size_t nRepeat=1)</td></tr>
<tr class="memdesc:a791f5885a0950a41ee76eddc2534a5f3"><td class="mdescLeft"> </td><td class="mdescRight">Construct a string consisting of <em>nRepeat</em> copies of ch. <a href="#a791f5885a0950a41ee76eddc2534a5f3"></a><br/></td></tr>
<tr class="separator:a791f5885a0950a41ee76eddc2534a5f3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1d31831eeb309c5d673a97aa9f1568d3"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a1d31831eeb309c5d673a97aa9f1568d3">wxString</a> (<a class="el" href="classwx_uni_char_ref.html">wxUniCharRef</a> ch, size_t nRepeat=1)</td></tr>
<tr class="memdesc:a1d31831eeb309c5d673a97aa9f1568d3"><td class="mdescLeft"> </td><td class="mdescRight">Construct a string consisting of <em>nRepeat</em> copies of ch. <a href="#a1d31831eeb309c5d673a97aa9f1568d3"></a><br/></td></tr>
<tr class="separator:a1d31831eeb309c5d673a97aa9f1568d3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1afc83d848d12750b539e579624df9fa"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a1afc83d848d12750b539e579624df9fa">wxString</a> (char ch, size_t nRepeat=1)</td></tr>
<tr class="memdesc:a1afc83d848d12750b539e579624df9fa"><td class="mdescLeft"> </td><td class="mdescRight">Construct a string consisting of <em>nRepeat</em> copies of ch converted to Unicode using the current locale encoding. <a href="#a1afc83d848d12750b539e579624df9fa"></a><br/></td></tr>
<tr class="separator:a1afc83d848d12750b539e579624df9fa"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae92c9031a0143807f1d72fd2b75cfcb4"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#ae92c9031a0143807f1d72fd2b75cfcb4">wxString</a> (wchar_t ch, size_t nRepeat=1)</td></tr>
<tr class="memdesc:ae92c9031a0143807f1d72fd2b75cfcb4"><td class="mdescLeft"> </td><td class="mdescRight">Construct a string consisting of <em>nRepeat</em> copies of ch. <a href="#ae92c9031a0143807f1d72fd2b75cfcb4"></a><br/></td></tr>
<tr class="separator:ae92c9031a0143807f1d72fd2b75cfcb4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0ec94790ea7b08344537f5cf893476f8"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a0ec94790ea7b08344537f5cf893476f8">wxString</a> (const char *psz)</td></tr>
<tr class="memdesc:a0ec94790ea7b08344537f5cf893476f8"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a string from the string literal <em>psz</em> using the current locale encoding to convert it to Unicode (wxConvLibc). <a href="#a0ec94790ea7b08344537f5cf893476f8"></a><br/></td></tr>
<tr class="separator:a0ec94790ea7b08344537f5cf893476f8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a96d8fedae47a282c685c6af0dfa3728c"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a96d8fedae47a282c685c6af0dfa3728c">wxString</a> (const char *psz, const <a class="el" href="classwx_m_b_conv.html">wxMBConv</a> &conv)</td></tr>
<tr class="memdesc:a96d8fedae47a282c685c6af0dfa3728c"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a string from the string literal <em>psz</em> using <em>conv</em> to convert it Unicode. <a href="#a96d8fedae47a282c685c6af0dfa3728c"></a><br/></td></tr>
<tr class="separator:a96d8fedae47a282c685c6af0dfa3728c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a18eac98263a8ecc3d565b9e6627a14b9"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a18eac98263a8ecc3d565b9e6627a14b9">wxString</a> (const char *psz, size_t nLength)</td></tr>
<tr class="memdesc:a18eac98263a8ecc3d565b9e6627a14b9"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a string from the first <em>nLength</em> character of the string literal <em>psz</em> using the current locale encoding to convert it to Unicode (wxConvLibc). <a href="#a18eac98263a8ecc3d565b9e6627a14b9"></a><br/></td></tr>
<tr class="separator:a18eac98263a8ecc3d565b9e6627a14b9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a86a2ec232912c97ed44ba34651d98123"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a86a2ec232912c97ed44ba34651d98123">wxString</a> (const char *psz, const <a class="el" href="classwx_m_b_conv.html">wxMBConv</a> &conv, size_t nLength)</td></tr>
<tr class="memdesc:a86a2ec232912c97ed44ba34651d98123"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a string from the first <em>nLength</em> character of the string literal <em>psz</em> using <em>conv</em> to convert it Unicode. <a href="#a86a2ec232912c97ed44ba34651d98123"></a><br/></td></tr>
<tr class="separator:a86a2ec232912c97ed44ba34651d98123"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae1fcf718262b69078417a15bde646668"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#ae1fcf718262b69078417a15bde646668">wxString</a> (const wchar_t *pwz)</td></tr>
<tr class="memdesc:ae1fcf718262b69078417a15bde646668"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a string from the string literal <em>pwz</em>. <a href="#ae1fcf718262b69078417a15bde646668"></a><br/></td></tr>
<tr class="separator:ae1fcf718262b69078417a15bde646668"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8b1f7dc26eb881f228fd7be26885dbe7"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a8b1f7dc26eb881f228fd7be26885dbe7">wxString</a> (const wchar_t *pwz, size_t nLength)</td></tr>
<tr class="memdesc:a8b1f7dc26eb881f228fd7be26885dbe7"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a string from the first <em>nLength</em> characters of the string literal <em>pwz</em>. <a href="#a8b1f7dc26eb881f228fd7be26885dbe7"></a><br/></td></tr>
<tr class="separator:a8b1f7dc26eb881f228fd7be26885dbe7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afb25e4a2670786aa360792fe40eb6d31"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#afb25e4a2670786aa360792fe40eb6d31">wxString</a> (const <a class="el" href="classwx_char_buffer.html">wxCharBuffer</a> &buf)</td></tr>
<tr class="memdesc:afb25e4a2670786aa360792fe40eb6d31"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a string from <em>buf</em> using the using the current locale encoding to convert it to Unicode. <a href="#afb25e4a2670786aa360792fe40eb6d31"></a><br/></td></tr>
<tr class="separator:afb25e4a2670786aa360792fe40eb6d31"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6fdc82f6b7412bc8617a9194580024ae"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a6fdc82f6b7412bc8617a9194580024ae">wxString</a> (const <a class="el" href="classwx_w_char_buffer.html">wxWCharBuffer</a> &buf)</td></tr>
<tr class="memdesc:a6fdc82f6b7412bc8617a9194580024ae"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a string from <em>buf</em>. <a href="#a6fdc82f6b7412bc8617a9194580024ae"></a><br/></td></tr>
<tr class="separator:a6fdc82f6b7412bc8617a9194580024ae"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adbc5f0b4efc63b775da5e9571841928a"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#adbc5f0b4efc63b775da5e9571841928a">wxString</a> (const std::string &str)</td></tr>
<tr class="memdesc:adbc5f0b4efc63b775da5e9571841928a"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a string from <em>str</em> using the using the current locale encoding to convert it to Unicode (wxConvLibc). <a href="#adbc5f0b4efc63b775da5e9571841928a"></a><br/></td></tr>
<tr class="separator:adbc5f0b4efc63b775da5e9571841928a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adf6220517c6b2e2305c9af3c5e932afb"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#adf6220517c6b2e2305c9af3c5e932afb">wxString</a> (const std::wstring &str)</td></tr>
<tr class="memdesc:adf6220517c6b2e2305c9af3c5e932afb"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a string from <em>str</em>. <a href="#adf6220517c6b2e2305c9af3c5e932afb"></a><br/></td></tr>
<tr class="separator:adf6220517c6b2e2305c9af3c5e932afb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad25109eb98a464712a6f28939e5adbdd"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#ad25109eb98a464712a6f28939e5adbdd">~wxString</a> ()</td></tr>
<tr class="memdesc:ad25109eb98a464712a6f28939e5adbdd"><td class="mdescLeft"> </td><td class="mdescRight">String destructor. <a href="#ad25109eb98a464712a6f28939e5adbdd"></a><br/></td></tr>
<tr class="separator:ad25109eb98a464712a6f28939e5adbdd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3ba262755ed0b1b1b4b547ff5092b285"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a3ba262755ed0b1b1b4b547ff5092b285">operator=</a> (const <a class="el" href="classwx_string.html">wxString</a> &str)</td></tr>
<tr class="memdesc:a3ba262755ed0b1b1b4b547ff5092b285"><td class="mdescLeft"> </td><td class="mdescRight">Assignment: see the relative <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> constructor. <a href="#a3ba262755ed0b1b1b4b547ff5092b285"></a><br/></td></tr>
<tr class="separator:a3ba262755ed0b1b1b4b547ff5092b285"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae72a297b5ec14564a21569ff2cb540d5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#ae72a297b5ec14564a21569ff2cb540d5">operator=</a> (<a class="el" href="classwx_uni_char.html">wxUniChar</a> c)</td></tr>
<tr class="memdesc:ae72a297b5ec14564a21569ff2cb540d5"><td class="mdescLeft"> </td><td class="mdescRight">Assignment: see the relative <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> constructor. <a href="#ae72a297b5ec14564a21569ff2cb540d5"></a><br/></td></tr>
<tr class="separator:ae72a297b5ec14564a21569ff2cb540d5"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">String length</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="length"></a></p>
<p>These functions return the string length and/or check whether the string is empty.</p>
<p>See also the <a class="el" href="classwx_string.html#af63f200410b56436a830550905e20539">length()</a>, <a class="el" href="classwx_string.html#aba423303c6e0580605269827e4744761">size()</a> or <a class="el" href="classwx_string.html#ac6ae24a8ccc6e4e671f972948fca437c">empty()</a> STL-like functions. </p>
</div></td></tr>
<tr class="memitem:ab20a87ca731a52c36ec674dae2213ad8"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#ab20a87ca731a52c36ec674dae2213ad8">Len</a> () const </td></tr>
<tr class="memdesc:ab20a87ca731a52c36ec674dae2213ad8"><td class="mdescLeft"> </td><td class="mdescRight">Returns the length of the string. <a href="#ab20a87ca731a52c36ec674dae2213ad8"></a><br/></td></tr>
<tr class="separator:ab20a87ca731a52c36ec674dae2213ad8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8895cca03120099236c002c0577b4d1c"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a8895cca03120099236c002c0577b4d1c">Length</a> () const </td></tr>
<tr class="memdesc:a8895cca03120099236c002c0577b4d1c"><td class="mdescLeft"> </td><td class="mdescRight">Returns the length of the string (same as Len). <a href="#a8895cca03120099236c002c0577b4d1c"></a><br/></td></tr>
<tr class="separator:a8895cca03120099236c002c0577b4d1c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ace32756bab999f8aae9be0cf981fc449"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#ace32756bab999f8aae9be0cf981fc449">IsEmpty</a> () const </td></tr>
<tr class="memdesc:ace32756bab999f8aae9be0cf981fc449"><td class="mdescLeft"> </td><td class="mdescRight">Returns <span class="literal">true</span> if the string is empty. <a href="#ace32756bab999f8aae9be0cf981fc449"></a><br/></td></tr>
<tr class="separator:ace32756bab999f8aae9be0cf981fc449"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae0a2020695a6ecd9ee49c14fe7429176"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#ae0a2020695a6ecd9ee49c14fe7429176">IsNull</a> () const </td></tr>
<tr class="memdesc:ae0a2020695a6ecd9ee49c14fe7429176"><td class="mdescLeft"> </td><td class="mdescRight">Returns <span class="literal">true</span> if the string is empty (same as <a class="el" href="classwx_string.html#ace32756bab999f8aae9be0cf981fc449" title="Returns true if the string is empty.">wxString::IsEmpty</a>). <a href="#ae0a2020695a6ecd9ee49c14fe7429176"></a><br/></td></tr>
<tr class="separator:ae0a2020695a6ecd9ee49c14fe7429176"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad04423868c5aba6cddc0b5c77dfb42ec"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#ad04423868c5aba6cddc0b5c77dfb42ec">operator!</a> () const </td></tr>
<tr class="memdesc:ad04423868c5aba6cddc0b5c77dfb42ec"><td class="mdescLeft"> </td><td class="mdescRight">Empty string is <span class="literal">false</span>, so !string will only return <span class="literal">true</span> if the string is empty. <a href="#ad04423868c5aba6cddc0b5c77dfb42ec"></a><br/></td></tr>
<tr class="separator:ad04423868c5aba6cddc0b5c77dfb42ec"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Character access</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="ch_access"></a></p>
<p>Many functions below take a character index in the string.</p>
<p>As with C strings and arrays, the indices start from 0, so the first character of a string is string[0]. An attempt to access a character beyond the end of the string (which may even be 0 if the string is empty) will provoke an assert failure in <a class="el" href="overview_debugging.html">debug builds</a>, but no checks are done in release builds. </p>
</div></td></tr>
<tr class="memitem:a0a760b0340bafebd03a803073e8050b7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_uni_char.html">wxUniChar</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a0a760b0340bafebd03a803073e8050b7">GetChar</a> (size_t n) const </td></tr>
<tr class="memdesc:a0a760b0340bafebd03a803073e8050b7"><td class="mdescLeft"> </td><td class="mdescRight">Returns the character at position <em>n</em> (read-only). <a href="#a0a760b0340bafebd03a803073e8050b7"></a><br/></td></tr>
<tr class="separator:a0a760b0340bafebd03a803073e8050b7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9a774cc2c2f9b1a6daf5e8d1d555943e"><td class="memItemLeft" align="right" valign="top">const wxCStrData </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a9a774cc2c2f9b1a6daf5e8d1d555943e">GetData</a> () const </td></tr>
<tr class="memdesc:a9a774cc2c2f9b1a6daf5e8d1d555943e"><td class="mdescLeft"> </td><td class="mdescRight">wxWidgets compatibility conversion. <a href="#a9a774cc2c2f9b1a6daf5e8d1d555943e"></a><br/></td></tr>
<tr class="separator:a9a774cc2c2f9b1a6daf5e8d1d555943e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8b30e786e96beed161b30cf6d6e1c7d5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_uni_char_ref.html">wxUniCharRef</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a8b30e786e96beed161b30cf6d6e1c7d5">GetWritableChar</a> (size_t n)</td></tr>
<tr class="memdesc:a8b30e786e96beed161b30cf6d6e1c7d5"><td class="mdescLeft"> </td><td class="mdescRight">Returns a reference to the character at position <em>n</em>. <a href="#a8b30e786e96beed161b30cf6d6e1c7d5"></a><br/></td></tr>
<tr class="separator:a8b30e786e96beed161b30cf6d6e1c7d5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0c87e85cee09e65d314457379e5aba19"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group__funcmacro__string.html#gaf558f1d34fbf3cf5e3258e42a40875fd">wxStringCharType</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a0c87e85cee09e65d314457379e5aba19">GetWriteBuf</a> (size_t len)</td></tr>
<tr class="memdesc:a0c87e85cee09e65d314457379e5aba19"><td class="mdescLeft"> </td><td class="mdescRight">Returns a writable buffer of at least <em>len</em> bytes. <a href="#a0c87e85cee09e65d314457379e5aba19"></a><br/></td></tr>
<tr class="separator:a0c87e85cee09e65d314457379e5aba19"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3783b441b540bac783a8e5a2cceaae7d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a3783b441b540bac783a8e5a2cceaae7d">UngetWriteBuf</a> ()</td></tr>
<tr class="memdesc:a3783b441b540bac783a8e5a2cceaae7d"><td class="mdescLeft"> </td><td class="mdescRight">Puts the string back into a reasonable state (in which it can be used normally), after <a class="el" href="classwx_string.html#a0c87e85cee09e65d314457379e5aba19" title="Returns a writable buffer of at least len bytes.">GetWriteBuf()</a> was called. <a href="#a3783b441b540bac783a8e5a2cceaae7d"></a><br/></td></tr>
<tr class="separator:a3783b441b540bac783a8e5a2cceaae7d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa4ff7bfb39cdac3a8322cd4932216eb0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#aa4ff7bfb39cdac3a8322cd4932216eb0">UngetWriteBuf</a> (size_t len)</td></tr>
<tr class="memdesc:aa4ff7bfb39cdac3a8322cd4932216eb0"><td class="mdescLeft"> </td><td class="mdescRight">This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. <a href="#aa4ff7bfb39cdac3a8322cd4932216eb0"></a><br/></td></tr>
<tr class="separator:aa4ff7bfb39cdac3a8322cd4932216eb0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad1a022058f58773d2feb072ae10a1408"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#ad1a022058f58773d2feb072ae10a1408">SetChar</a> (size_t n, <a class="el" href="classwx_uni_char.html">wxUniChar</a> ch)</td></tr>
<tr class="memdesc:ad1a022058f58773d2feb072ae10a1408"><td class="mdescLeft"> </td><td class="mdescRight">Sets the character at position <em>n</em>. <a href="#ad1a022058f58773d2feb072ae10a1408"></a><br/></td></tr>
<tr class="separator:ad1a022058f58773d2feb072ae10a1408"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9cbac1fb780a7e227d38a85108829f8d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_uni_char.html">wxUniChar</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a9cbac1fb780a7e227d38a85108829f8d">Last</a> () const </td></tr>
<tr class="memdesc:a9cbac1fb780a7e227d38a85108829f8d"><td class="mdescLeft"> </td><td class="mdescRight">Returns the last character. <a href="#a9cbac1fb780a7e227d38a85108829f8d"></a><br/></td></tr>
<tr class="separator:a9cbac1fb780a7e227d38a85108829f8d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a93aaa3f92c1c13d7af2a590387340988"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_uni_char_ref.html">wxUniCharRef</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a93aaa3f92c1c13d7af2a590387340988">Last</a> ()</td></tr>
<tr class="memdesc:a93aaa3f92c1c13d7af2a590387340988"><td class="mdescLeft"> </td><td class="mdescRight">Returns a reference to the last character (writable). <a href="#a93aaa3f92c1c13d7af2a590387340988"></a><br/></td></tr>
<tr class="separator:a93aaa3f92c1c13d7af2a590387340988"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abdf1bada2f023c6ae8023a1e4b523aa9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_uni_char.html">wxUniChar</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#abdf1bada2f023c6ae8023a1e4b523aa9">operator[]</a> (size_t i) const </td></tr>
<tr class="memdesc:abdf1bada2f023c6ae8023a1e4b523aa9"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <em>i-th</em> character of the string. <a href="#abdf1bada2f023c6ae8023a1e4b523aa9"></a><br/></td></tr>
<tr class="separator:abdf1bada2f023c6ae8023a1e4b523aa9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a015fbd8666790e967c9c581fa3601bac"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_uni_char_ref.html">wxUniCharRef</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a015fbd8666790e967c9c581fa3601bac">operator[]</a> (size_t i)</td></tr>
<tr class="memdesc:a015fbd8666790e967c9c581fa3601bac"><td class="mdescLeft"> </td><td class="mdescRight">Returns a writable reference to the <em>i-th</em> character of the string. <a href="#a015fbd8666790e967c9c581fa3601bac"></a><br/></td></tr>
<tr class="separator:a015fbd8666790e967c9c581fa3601bac"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Conversions</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="conv"></a></p>
<p>This section contains both implicit and explicit conversions to C style strings.</p>
<p>Although implicit conversion is quite convenient, you are advised to use <a class="el" href="classwx_string.html#a6cd4782263a3ed4064eca915eb6e27e6" title="Converts the strings contents to the wide character representation and returns it as a temporary wxWC...">wc_str()</a> for the sake of clarity. </p>
</div></td></tr>
<tr class="memitem:a6418ec90c6d4ffe0b05702be1b35df4f"><td class="memItemLeft" align="right" valign="top">wxCStrData </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a6418ec90c6d4ffe0b05702be1b35df4f">c_str</a> () const </td></tr>
<tr class="memdesc:a6418ec90c6d4ffe0b05702be1b35df4f"><td class="mdescLeft"> </td><td class="mdescRight">Returns a lightweight intermediate class which is in turn implicitly convertible to both <code>const</code> <code>char*</code> and to <code>const</code> <code>wchar_t*</code>. <a href="#a6418ec90c6d4ffe0b05702be1b35df4f"></a><br/></td></tr>
<tr class="separator:a6418ec90c6d4ffe0b05702be1b35df4f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aedcaea87fc347a940263a533bd56846f"><td class="memItemLeft" align="right" valign="top">wxWritableCharBuffer </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#aedcaea87fc347a940263a533bd56846f">char_str</a> (const <a class="el" href="classwx_m_b_conv.html">wxMBConv</a> &conv=wxConvLibc) const </td></tr>
<tr class="memdesc:aedcaea87fc347a940263a533bd56846f"><td class="mdescLeft"> </td><td class="mdescRight">Returns an object with string data that is implicitly convertible to <code>char*</code> pointer. <a href="#aedcaea87fc347a940263a533bd56846f"></a><br/></td></tr>
<tr class="separator:aedcaea87fc347a940263a533bd56846f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aea75e9a0639470adcc2c8260156038e3"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
<tr class="memitem:aea75e9a0639470adcc2c8260156038e3"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classwx_char_type_buffer.html">wxCharTypeBuffer</a>< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classwx_string.html#aea75e9a0639470adcc2c8260156038e3">tchar_str</a> (size_t *len=NULL) const </td></tr>
<tr class="memdesc:aea75e9a0639470adcc2c8260156038e3"><td class="mdescLeft"> </td><td class="mdescRight">Returns buffer of the specified type containing the string data. <a href="#aea75e9a0639470adcc2c8260156038e3"></a><br/></td></tr>
<tr class="separator:aea75e9a0639470adcc2c8260156038e3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abbd66d19de7187f2e04ad00b09f4614a"><td class="memItemLeft" align="right" valign="top">const wchar_t * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#abbd66d19de7187f2e04ad00b09f4614a">fn_str</a> () const </td></tr>
<tr class="memdesc:abbd66d19de7187f2e04ad00b09f4614a"><td class="mdescLeft"> </td><td class="mdescRight">Returns a string representation suitable for passing to OS' functions for file handling. <a href="#abbd66d19de7187f2e04ad00b09f4614a"></a><br/></td></tr>
<tr class="separator:abbd66d19de7187f2e04ad00b09f4614a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7f0bc3f755db9d009c04c88bfad4af9e"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a7f0bc3f755db9d009c04c88bfad4af9e">fn_str</a> () const </td></tr>
<tr class="memdesc:a7f0bc3f755db9d009c04c88bfad4af9e"><td class="mdescLeft"> </td><td class="mdescRight">This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. <a href="#a7f0bc3f755db9d009c04c88bfad4af9e"></a><br/></td></tr>
<tr class="separator:a7f0bc3f755db9d009c04c88bfad4af9e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9b0c4e18fd523e43214279ab117162aa"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classwx_char_buffer.html">wxCharBuffer</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a9b0c4e18fd523e43214279ab117162aa">fn_str</a> () const </td></tr>
<tr class="memdesc:a9b0c4e18fd523e43214279ab117162aa"><td class="mdescLeft"> </td><td class="mdescRight">This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. <a href="#a9b0c4e18fd523e43214279ab117162aa"></a><br/></td></tr>
<tr class="separator:a9b0c4e18fd523e43214279ab117162aa"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adcfd12e6d0765b1d74bccc3d63d02e98"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classwx_char_buffer.html">wxCharBuffer</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#adcfd12e6d0765b1d74bccc3d63d02e98">mb_str</a> (const <a class="el" href="classwx_m_b_conv.html">wxMBConv</a> &conv=wxConvLibc) const </td></tr>
<tr class="memdesc:adcfd12e6d0765b1d74bccc3d63d02e98"><td class="mdescLeft"> </td><td class="mdescRight">Returns the multibyte (C string) representation of the string using <em>conv's</em> <a class="el" href="classwx_m_b_conv.html#a496c808fc769800659e5de1a74115a54" title="Converts from Unicode to multibyte encoding by calling FromWChar() and allocating a temporary wxCharB...">wxMBConv::cWC2MB</a> method and returns <a class="el" href="classwx_char_buffer.html" title="This is a specialization of wxCharTypeBuffer<T> for char type.">wxCharBuffer</a>. <a href="#adcfd12e6d0765b1d74bccc3d63d02e98"></a><br/></td></tr>
<tr class="separator:adcfd12e6d0765b1d74bccc3d63d02e98"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad71e3ded85939db8af9eeadfa02719ac"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="buffer_8h.html#a76c552ab140910c2abd59a2a6a69a724">wxScopedCharBuffer</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#ad71e3ded85939db8af9eeadfa02719ac">utf8_str</a> () const </td></tr>
<tr class="memdesc:ad71e3ded85939db8af9eeadfa02719ac"><td class="mdescLeft"> </td><td class="mdescRight">Converts the strings contents to UTF-8 and returns it either as a temporary <a class="el" href="classwx_char_buffer.html" title="This is a specialization of wxCharTypeBuffer<T> for char type.">wxCharBuffer</a> object or as a pointer to the internal string contents in UTF-8 build. <a href="#ad71e3ded85939db8af9eeadfa02719ac"></a><br/></td></tr>
<tr class="separator:ad71e3ded85939db8af9eeadfa02719ac"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6cd4782263a3ed4064eca915eb6e27e6"><td class="memItemLeft" align="right" valign="top">const wchar_t * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a6cd4782263a3ed4064eca915eb6e27e6">wc_str</a> () const </td></tr>
<tr class="memdesc:a6cd4782263a3ed4064eca915eb6e27e6"><td class="mdescLeft"> </td><td class="mdescRight">Converts the strings contents to the wide character representation and returns it as a temporary <a class="el" href="classwx_w_char_buffer.html" title="This is a specialization of wxCharTypeBuffer<T> for wchar_t type.">wxWCharBuffer</a> object (Unix and OS X) or returns a pointer to the internal string contents in wide character mode (Windows). <a href="#a6cd4782263a3ed4064eca915eb6e27e6"></a><br/></td></tr>
<tr class="separator:a6cd4782263a3ed4064eca915eb6e27e6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a26a7fea7b3cda801c40b95f18e2d1d86"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classwx_w_char_buffer.html">wxWCharBuffer</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a26a7fea7b3cda801c40b95f18e2d1d86">wc_str</a> () const </td></tr>
<tr class="memdesc:a26a7fea7b3cda801c40b95f18e2d1d86"><td class="mdescLeft"> </td><td class="mdescRight">This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. <a href="#a26a7fea7b3cda801c40b95f18e2d1d86"></a><br/></td></tr>
<tr class="separator:a26a7fea7b3cda801c40b95f18e2d1d86"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3d9337b865b8962e172c2589409c6876"><td class="memItemLeft" align="right" valign="top">wxWritableWCharBuffer </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a3d9337b865b8962e172c2589409c6876">wchar_str</a> () const </td></tr>
<tr class="memdesc:a3d9337b865b8962e172c2589409c6876"><td class="mdescLeft"> </td><td class="mdescRight">Returns an object with string data that is implicitly convertible to <code>char*</code> pointer. <a href="#a3d9337b865b8962e172c2589409c6876"></a><br/></td></tr>
<tr class="separator:a3d9337b865b8962e172c2589409c6876"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a667b135c20008042653f82b739f6c3ab"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="group__group__funcmacro__string.html#gaf558f1d34fbf3cf5e3258e42a40875fd">wxStringCharType</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a667b135c20008042653f82b739f6c3ab">wx_str</a> () const </td></tr>
<tr class="memdesc:a667b135c20008042653f82b739f6c3ab"><td class="mdescLeft"> </td><td class="mdescRight">Explicit conversion to C string in the internal representation (either wchar_t* or UTF-8-encoded char*, depending on the build). <a href="#a667b135c20008042653f82b739f6c3ab"></a><br/></td></tr>
<tr class="separator:a667b135c20008042653f82b739f6c3ab"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afa91a632574bcbba1bf35b54f2c5562a"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="buffer_8h.html#a76c552ab140910c2abd59a2a6a69a724">wxScopedCharBuffer</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#afa91a632574bcbba1bf35b54f2c5562a">To8BitData</a> () const </td></tr>
<tr class="memdesc:afa91a632574bcbba1bf35b54f2c5562a"><td class="mdescLeft"> </td><td class="mdescRight">Converts the string to an 8-bit string in ISO-8859-1 encoding in the form of a <a class="el" href="classwx_char_buffer.html" title="This is a specialization of wxCharTypeBuffer<T> for char type.">wxCharBuffer</a> (Unicode builds only). <a href="#afa91a632574bcbba1bf35b54f2c5562a"></a><br/></td></tr>
<tr class="separator:afa91a632574bcbba1bf35b54f2c5562a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2fec30dc8959d4fd3a56cd148bf1e57a"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a2fec30dc8959d4fd3a56cd148bf1e57a">ToAscii</a> () const </td></tr>
<tr class="memdesc:a2fec30dc8959d4fd3a56cd148bf1e57a"><td class="mdescLeft"> </td><td class="mdescRight">Converts the string to an ASCII, 7-bit string in the form of a <a class="el" href="classwx_char_buffer.html" title="This is a specialization of wxCharTypeBuffer<T> for char type.">wxCharBuffer</a> (Unicode builds only) or a C string (ANSI builds). <a href="#a2fec30dc8959d4fd3a56cd148bf1e57a"></a><br/></td></tr>
<tr class="separator:a2fec30dc8959d4fd3a56cd148bf1e57a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9c39f3ca6c54a28347527c28e7c18f23"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classwx_char_buffer.html">wxCharBuffer</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a9c39f3ca6c54a28347527c28e7c18f23">ToAscii</a> () const </td></tr>
<tr class="memdesc:a9c39f3ca6c54a28347527c28e7c18f23"><td class="mdescLeft"> </td><td class="mdescRight">This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. <a href="#a9c39f3ca6c54a28347527c28e7c18f23"></a><br/></td></tr>
<tr class="separator:a9c39f3ca6c54a28347527c28e7c18f23"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3c764622c960389c4d8c9e21e13bddc7"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a3c764622c960389c4d8c9e21e13bddc7">ToStdString</a> () const </td></tr>
<tr class="memdesc:a3c764622c960389c4d8c9e21e13bddc7"><td class="mdescLeft"> </td><td class="mdescRight">Return the string as an std::string in current locale encoding. <a href="#a3c764622c960389c4d8c9e21e13bddc7"></a><br/></td></tr>
<tr class="separator:a3c764622c960389c4d8c9e21e13bddc7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acd4ba44e34428aa83cd9922d2933d060"><td class="memItemLeft" align="right" valign="top">std::wstring </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#acd4ba44e34428aa83cd9922d2933d060">ToStdWstring</a> () const </td></tr>
<tr class="memdesc:acd4ba44e34428aa83cd9922d2933d060"><td class="mdescLeft"> </td><td class="mdescRight">Return the string as an std::wstring. <a href="#acd4ba44e34428aa83cd9922d2933d060"></a><br/></td></tr>
<tr class="separator:acd4ba44e34428aa83cd9922d2933d060"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac923e0bcfda57ec5064dcade9808db94"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="buffer_8h.html#a76c552ab140910c2abd59a2a6a69a724">wxScopedCharBuffer</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#ac923e0bcfda57ec5064dcade9808db94">ToUTF8</a> () const </td></tr>
<tr class="memdesc:ac923e0bcfda57ec5064dcade9808db94"><td class="mdescLeft"> </td><td class="mdescRight">Same as <a class="el" href="classwx_string.html#ad71e3ded85939db8af9eeadfa02719ac" title="Converts the strings contents to UTF-8 and returns it either as a temporary wxCharBuffer object or as...">utf8_str()</a>. <a href="#ac923e0bcfda57ec5064dcade9808db94"></a><br/></td></tr>
<tr class="separator:ac923e0bcfda57ec5064dcade9808db94"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Concatenation</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="concat"></a></p>
<p>Almost anything may be concatenated (appended to) with a string!</p>
<p>Note that the various <a class="el" href="classwx_string.html#a8d96a72afdc434512dee502353730b6a" title="Appends the string literal psz.">operator<<()</a> overloads work as C++ stream insertion operators. They insert the given value into the string. Precision and format cannot be set using them. Use <a class="el" href="classwx_string.html#a9588b7f2684b9a6a924dc3746a2b2f8d" title="Similar to the standard function sprintf().">Printf()</a> instead.</p>
<p>See also the <a class="el" href="classwx_string.html#af81fb656038da7c98f62317f55db15a4">insert()</a> and <a class="el" href="classwx_string.html#aa07c1e103eea1da6bfd91a6aa33bfa15">append()</a> STL-like functions. </p>
</div></td></tr>
<tr class="memitem:a2faf8f428d7fac92e11f00a017ab46b3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a2faf8f428d7fac92e11f00a017ab46b3">Append</a> (const char *psz)</td></tr>
<tr class="memdesc:a2faf8f428d7fac92e11f00a017ab46b3"><td class="mdescLeft"> </td><td class="mdescRight">Appends the string literal <em>psz</em>. <a href="#a2faf8f428d7fac92e11f00a017ab46b3"></a><br/></td></tr>
<tr class="separator:a2faf8f428d7fac92e11f00a017ab46b3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afa989ea2b0472869c3ac5b2594cbcf81"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#afa989ea2b0472869c3ac5b2594cbcf81">Append</a> (const wchar_t *pwz)</td></tr>
<tr class="memdesc:afa989ea2b0472869c3ac5b2594cbcf81"><td class="mdescLeft"> </td><td class="mdescRight">Appends the wide string literal <em>pwz</em>. <a href="#afa989ea2b0472869c3ac5b2594cbcf81"></a><br/></td></tr>
<tr class="separator:afa989ea2b0472869c3ac5b2594cbcf81"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a28d69617cbfac2f86f2255612a7d44af"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a28d69617cbfac2f86f2255612a7d44af">Append</a> (const char *psz, size_t nLen)</td></tr>
<tr class="memdesc:a28d69617cbfac2f86f2255612a7d44af"><td class="mdescLeft"> </td><td class="mdescRight">Appends the string literal <em>psz</em> with max length <em>nLen</em>. <a href="#a28d69617cbfac2f86f2255612a7d44af"></a><br/></td></tr>
<tr class="separator:a28d69617cbfac2f86f2255612a7d44af"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a506350bcfa0c862afc0bb5d291559930"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a506350bcfa0c862afc0bb5d291559930">Append</a> (const wchar_t *pwz, size_t nLen)</td></tr>
<tr class="memdesc:a506350bcfa0c862afc0bb5d291559930"><td class="mdescLeft"> </td><td class="mdescRight">Appends the wide string literal <em>psz</em> with max length <em>nLen</em>. <a href="#a506350bcfa0c862afc0bb5d291559930"></a><br/></td></tr>
<tr class="separator:a506350bcfa0c862afc0bb5d291559930"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a72bd9097575892317cd9521f149a16b5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a72bd9097575892317cd9521f149a16b5">Append</a> (const <a class="el" href="classwx_string.html">wxString</a> &s)</td></tr>
<tr class="memdesc:a72bd9097575892317cd9521f149a16b5"><td class="mdescLeft"> </td><td class="mdescRight">Appends the string <em>s</em>. <a href="#a72bd9097575892317cd9521f149a16b5"></a><br/></td></tr>
<tr class="separator:a72bd9097575892317cd9521f149a16b5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6b91de64493beb67937a759572757b8b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a6b91de64493beb67937a759572757b8b">Append</a> (<a class="el" href="classwx_uni_char.html">wxUniChar</a> ch, size_t count=1u)</td></tr>
<tr class="memdesc:a6b91de64493beb67937a759572757b8b"><td class="mdescLeft"> </td><td class="mdescRight">Appends the character <em>ch</em> <em>count</em> times. <a href="#a6b91de64493beb67937a759572757b8b"></a><br/></td></tr>
<tr class="separator:a6b91de64493beb67937a759572757b8b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a09e5dc4368a806f922c24651033f45de"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a09e5dc4368a806f922c24651033f45de">Prepend</a> (const <a class="el" href="classwx_string.html">wxString</a> &str)</td></tr>
<tr class="memdesc:a09e5dc4368a806f922c24651033f45de"><td class="mdescLeft"> </td><td class="mdescRight">Prepends <em>str</em> to this string, returning a reference to this string. <a href="#a09e5dc4368a806f922c24651033f45de"></a><br/></td></tr>
<tr class="separator:a09e5dc4368a806f922c24651033f45de"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a742b91e784f7baaef808b4ffb073ec53"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a742b91e784f7baaef808b4ffb073ec53">operator+</a> (const <a class="el" href="classwx_string.html">wxString</a> &x, const <a class="el" href="classwx_string.html">wxString</a> &y)</td></tr>
<tr class="memdesc:a742b91e784f7baaef808b4ffb073ec53"><td class="mdescLeft"> </td><td class="mdescRight">Concatenation: returns a new string equal to the concatenation of the operands. <a href="#a742b91e784f7baaef808b4ffb073ec53"></a><br/></td></tr>
<tr class="separator:a742b91e784f7baaef808b4ffb073ec53"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac6b0d07b904597a70fea888c33f165cc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#ac6b0d07b904597a70fea888c33f165cc">operator+</a> (const <a class="el" href="classwx_string.html">wxString</a> &x, <a class="el" href="classwx_uni_char.html">wxUniChar</a> y)</td></tr>
<tr class="memdesc:ac6b0d07b904597a70fea888c33f165cc"><td class="mdescLeft"> </td><td class="mdescRight">This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. <a href="#ac6b0d07b904597a70fea888c33f165cc"></a><br/></td></tr>
<tr class="separator:ac6b0d07b904597a70fea888c33f165cc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8d96a72afdc434512dee502353730b6a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a8d96a72afdc434512dee502353730b6a">operator<<</a> (const <a class="el" href="classwx_string.html">wxString</a> &s)</td></tr>
<tr class="memdesc:a8d96a72afdc434512dee502353730b6a"><td class="mdescLeft"> </td><td class="mdescRight">Appends the string literal <em>psz</em>. <a href="#a8d96a72afdc434512dee502353730b6a"></a><br/></td></tr>
<tr class="separator:a8d96a72afdc434512dee502353730b6a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a89dce4633434e7625479f82671dc75a3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a89dce4633434e7625479f82671dc75a3">operator<<</a> (const char *psz)</td></tr>
<tr class="memdesc:a89dce4633434e7625479f82671dc75a3"><td class="mdescLeft"> </td><td class="mdescRight">Appends the string literal <em>psz</em>. <a href="#a89dce4633434e7625479f82671dc75a3"></a><br/></td></tr>
<tr class="separator:a89dce4633434e7625479f82671dc75a3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0066fea139757b878b2bfcaf1dbb69b9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a0066fea139757b878b2bfcaf1dbb69b9">operator<<</a> (const wchar_t *pwz)</td></tr>
<tr class="memdesc:a0066fea139757b878b2bfcaf1dbb69b9"><td class="mdescLeft"> </td><td class="mdescRight">Appends the string literal <em>psz</em>. <a href="#a0066fea139757b878b2bfcaf1dbb69b9"></a><br/></td></tr>
<tr class="separator:a0066fea139757b878b2bfcaf1dbb69b9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af3f55fe4bccf98077e3e5458f9ba2569"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#af3f55fe4bccf98077e3e5458f9ba2569">operator<<</a> (const wxCStrData &psz)</td></tr>
<tr class="memdesc:af3f55fe4bccf98077e3e5458f9ba2569"><td class="mdescLeft"> </td><td class="mdescRight">Appends the string literal <em>psz</em>. <a href="#af3f55fe4bccf98077e3e5458f9ba2569"></a><br/></td></tr>
<tr class="separator:af3f55fe4bccf98077e3e5458f9ba2569"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a784f4d061907ad8da8ecd64b7e041b67"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a784f4d061907ad8da8ecd64b7e041b67">operator<<</a> (char ch)</td></tr>
<tr class="memdesc:a784f4d061907ad8da8ecd64b7e041b67"><td class="mdescLeft"> </td><td class="mdescRight">Appends the string literal <em>psz</em>. <a href="#a784f4d061907ad8da8ecd64b7e041b67"></a><br/></td></tr>
<tr class="separator:a784f4d061907ad8da8ecd64b7e041b67"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa9aec5c227079380c6c6adf4f3f466d9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#aa9aec5c227079380c6c6adf4f3f466d9">operator<<</a> (unsigned char ch)</td></tr>
<tr class="memdesc:aa9aec5c227079380c6c6adf4f3f466d9"><td class="mdescLeft"> </td><td class="mdescRight">Appends the string literal <em>psz</em>. <a href="#aa9aec5c227079380c6c6adf4f3f466d9"></a><br/></td></tr>
<tr class="separator:aa9aec5c227079380c6c6adf4f3f466d9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a539729c9846e45c1199f1385538b8d08"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a539729c9846e45c1199f1385538b8d08">operator<<</a> (wchar_t ch)</td></tr>
<tr class="memdesc:a539729c9846e45c1199f1385538b8d08"><td class="mdescLeft"> </td><td class="mdescRight">Appends the string literal <em>psz</em>. <a href="#a539729c9846e45c1199f1385538b8d08"></a><br/></td></tr>
<tr class="separator:a539729c9846e45c1199f1385538b8d08"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a15680835024b546e209f9d5d3c34c898"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a15680835024b546e209f9d5d3c34c898">operator<<</a> (const <a class="el" href="classwx_char_buffer.html">wxCharBuffer</a> &s)</td></tr>
<tr class="memdesc:a15680835024b546e209f9d5d3c34c898"><td class="mdescLeft"> </td><td class="mdescRight">Appends the string literal <em>psz</em>. <a href="#a15680835024b546e209f9d5d3c34c898"></a><br/></td></tr>
<tr class="separator:a15680835024b546e209f9d5d3c34c898"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5a321cb019b678b98f9843b2f8f67247"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a5a321cb019b678b98f9843b2f8f67247">operator<<</a> (const <a class="el" href="classwx_w_char_buffer.html">wxWCharBuffer</a> &s)</td></tr>
<tr class="memdesc:a5a321cb019b678b98f9843b2f8f67247"><td class="mdescLeft"> </td><td class="mdescRight">Appends the string literal <em>psz</em>. <a href="#a5a321cb019b678b98f9843b2f8f67247"></a><br/></td></tr>
<tr class="separator:a5a321cb019b678b98f9843b2f8f67247"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad30c6312505e3ad2f2da2d3154708c95"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#ad30c6312505e3ad2f2da2d3154708c95">operator<<</a> (<a class="el" href="classwx_uni_char.html">wxUniChar</a> ch)</td></tr>
<tr class="memdesc:ad30c6312505e3ad2f2da2d3154708c95"><td class="mdescLeft"> </td><td class="mdescRight">Appends the string literal <em>psz</em>. <a href="#ad30c6312505e3ad2f2da2d3154708c95"></a><br/></td></tr>
<tr class="separator:ad30c6312505e3ad2f2da2d3154708c95"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac9a674899a3bdec6a8f254228a87f7df"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#ac9a674899a3bdec6a8f254228a87f7df">operator<<</a> (<a class="el" href="classwx_uni_char_ref.html">wxUniCharRef</a> ch)</td></tr>
<tr class="memdesc:ac9a674899a3bdec6a8f254228a87f7df"><td class="mdescLeft"> </td><td class="mdescRight">Appends the string literal <em>psz</em>. <a href="#ac9a674899a3bdec6a8f254228a87f7df"></a><br/></td></tr>
<tr class="separator:ac9a674899a3bdec6a8f254228a87f7df"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6e482dd5382ccc0f2170439127b565ce"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a6e482dd5382ccc0f2170439127b565ce">operator<<</a> (unsigned int ui)</td></tr>
<tr class="memdesc:a6e482dd5382ccc0f2170439127b565ce"><td class="mdescLeft"> </td><td class="mdescRight">Appends the string literal <em>psz</em>. <a href="#a6e482dd5382ccc0f2170439127b565ce"></a><br/></td></tr>
<tr class="separator:a6e482dd5382ccc0f2170439127b565ce"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1502d0bb5a86a5fc2466ce7b0672a725"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a1502d0bb5a86a5fc2466ce7b0672a725">operator<<</a> (long l)</td></tr>
<tr class="memdesc:a1502d0bb5a86a5fc2466ce7b0672a725"><td class="mdescLeft"> </td><td class="mdescRight">Appends the string literal <em>psz</em>. <a href="#a1502d0bb5a86a5fc2466ce7b0672a725"></a><br/></td></tr>
<tr class="separator:a1502d0bb5a86a5fc2466ce7b0672a725"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7c3a6bcf82d2a5b1b93a62025a33d8da"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a7c3a6bcf82d2a5b1b93a62025a33d8da">operator<<</a> (unsigned long ul)</td></tr>
<tr class="memdesc:a7c3a6bcf82d2a5b1b93a62025a33d8da"><td class="mdescLeft"> </td><td class="mdescRight">Appends the string literal <em>psz</em>. <a href="#a7c3a6bcf82d2a5b1b93a62025a33d8da"></a><br/></td></tr>
<tr class="separator:a7c3a6bcf82d2a5b1b93a62025a33d8da"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1f24d0faf4a1c911384da20b31af3cde"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a1f24d0faf4a1c911384da20b31af3cde">operator<<</a> (wxLongLong_t ll)</td></tr>
<tr class="memdesc:a1f24d0faf4a1c911384da20b31af3cde"><td class="mdescLeft"> </td><td class="mdescRight">Appends the string literal <em>psz</em>. <a href="#a1f24d0faf4a1c911384da20b31af3cde"></a><br/></td></tr>
<tr class="separator:a1f24d0faf4a1c911384da20b31af3cde"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6dad8a252757bed8815e97dd1a6b8fef"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a6dad8a252757bed8815e97dd1a6b8fef">operator<<</a> (wxULongLong_t ul)</td></tr>
<tr class="memdesc:a6dad8a252757bed8815e97dd1a6b8fef"><td class="mdescLeft"> </td><td class="mdescRight">Appends the string literal <em>psz</em>. <a href="#a6dad8a252757bed8815e97dd1a6b8fef"></a><br/></td></tr>
<tr class="separator:a6dad8a252757bed8815e97dd1a6b8fef"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac3f6ebf36fbbc843ef0dc28d862f2c51"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#ac3f6ebf36fbbc843ef0dc28d862f2c51">operator<<</a> (float f)</td></tr>
<tr class="memdesc:ac3f6ebf36fbbc843ef0dc28d862f2c51"><td class="mdescLeft"> </td><td class="mdescRight">Appends the string literal <em>psz</em>. <a href="#ac3f6ebf36fbbc843ef0dc28d862f2c51"></a><br/></td></tr>
<tr class="separator:ac3f6ebf36fbbc843ef0dc28d862f2c51"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad4eb2747aea15e45454cc4092b676fb7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#ad4eb2747aea15e45454cc4092b676fb7">operator<<</a> (double d)</td></tr>
<tr class="memdesc:ad4eb2747aea15e45454cc4092b676fb7"><td class="mdescLeft"> </td><td class="mdescRight">Appends the string literal <em>psz</em>. <a href="#ad4eb2747aea15e45454cc4092b676fb7"></a><br/></td></tr>
<tr class="separator:ad4eb2747aea15e45454cc4092b676fb7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab82d9888319f8639cb3310d18b7640a3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#ab82d9888319f8639cb3310d18b7640a3">operator+=</a> (const <a class="el" href="classwx_string.html">wxString</a> &str)</td></tr>
<tr class="memdesc:ab82d9888319f8639cb3310d18b7640a3"><td class="mdescLeft"> </td><td class="mdescRight">Concatenation in place: the argument is appended to the string. <a href="#ab82d9888319f8639cb3310d18b7640a3"></a><br/></td></tr>
<tr class="separator:ab82d9888319f8639cb3310d18b7640a3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a26c983e1489887af0ec14bbacef962ed"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a26c983e1489887af0ec14bbacef962ed">operator+=</a> (<a class="el" href="classwx_uni_char.html">wxUniChar</a> c)</td></tr>
<tr class="memdesc:a26c983e1489887af0ec14bbacef962ed"><td class="mdescLeft"> </td><td class="mdescRight">This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. <a href="#a26c983e1489887af0ec14bbacef962ed"></a><br/></td></tr>
<tr class="separator:a26c983e1489887af0ec14bbacef962ed"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Comparison</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="cmp"></a></p>
<p>The default comparison function <a class="el" href="classwx_string.html#a0352d6eeadcfad0b234e8c9481479a4a" title="Case-sensitive comparison.">Cmp()</a> is case-sensitive and so is the default version of <a class="el" href="classwx_string.html#a65f965b378fbfceed8f8688287f6e65e" title="Test whether the string is equal to another string s.">IsSameAs()</a>.</p>
<p>For case insensitive comparisons you should use <a class="el" href="classwx_string.html#a9c0eb52308e347031f9e479a9abc0a8f" title="Case-insensitive comparison.">CmpNoCase()</a> or give a second parameter to <a class="el" href="classwx_string.html#a65f965b378fbfceed8f8688287f6e65e" title="Test whether the string is equal to another string s.">IsSameAs()</a>. This last function is maybe more convenient if only equality of the strings matters because it returns a boolean <span class="literal">true</span> value if the strings are the same and not 0 (which is usually <span class="literal">false</span> in C) as <a class="el" href="classwx_string.html#a0352d6eeadcfad0b234e8c9481479a4a" title="Case-sensitive comparison.">Cmp()</a> does.</p>
<p><a class="el" href="classwx_string.html#a0fef65e3bf7f77fa6858521f29a84e20" title="Returns true if the string contents matches a mask containing '*' and '?'.">Matches()</a> is a poor man's regular expression matcher: it only understands '*' and '?' metacharacters in the sense of DOS command line interpreter.</p>
<p><a class="el" href="classwx_string.html#a627b084ee8088734e1b28ee23d67f7bb" title="This function can be used to test if the string starts with the specified prefix.">StartsWith()</a> is helpful when parsing a line of text which should start with some predefined prefix and is more efficient than doing direct string comparison as you would also have to precalculate the length of the prefix.</p>
<p>See also the <a class="el" href="classwx_string.html#addee33a9b9e21e4803bccdda8e362548">compare()</a> STL-like function. </p>
</div></td></tr>
<tr class="memitem:a0352d6eeadcfad0b234e8c9481479a4a"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a0352d6eeadcfad0b234e8c9481479a4a">Cmp</a> (const <a class="el" href="classwx_string.html">wxString</a> &s) const </td></tr>
<tr class="memdesc:a0352d6eeadcfad0b234e8c9481479a4a"><td class="mdescLeft"> </td><td class="mdescRight">Case-sensitive comparison. <a href="#a0352d6eeadcfad0b234e8c9481479a4a"></a><br/></td></tr>
<tr class="separator:a0352d6eeadcfad0b234e8c9481479a4a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9c0eb52308e347031f9e479a9abc0a8f"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a9c0eb52308e347031f9e479a9abc0a8f">CmpNoCase</a> (const <a class="el" href="classwx_string.html">wxString</a> &s) const </td></tr>
<tr class="memdesc:a9c0eb52308e347031f9e479a9abc0a8f"><td class="mdescLeft"> </td><td class="mdescRight">Case-insensitive comparison. <a href="#a9c0eb52308e347031f9e479a9abc0a8f"></a><br/></td></tr>
<tr class="separator:a9c0eb52308e347031f9e479a9abc0a8f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a65f965b378fbfceed8f8688287f6e65e"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a65f965b378fbfceed8f8688287f6e65e">IsSameAs</a> (const <a class="el" href="classwx_string.html">wxString</a> &s, bool caseSensitive=true) const </td></tr>
<tr class="memdesc:a65f965b378fbfceed8f8688287f6e65e"><td class="mdescLeft"> </td><td class="mdescRight">Test whether the string is equal to another string <em>s</em>. <a href="#a65f965b378fbfceed8f8688287f6e65e"></a><br/></td></tr>
<tr class="separator:a65f965b378fbfceed8f8688287f6e65e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7e3a514459838e0c5c4b2b9b3703cc8a"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a7e3a514459838e0c5c4b2b9b3703cc8a">IsSameAs</a> (<a class="el" href="classwx_uni_char.html">wxUniChar</a> ch, bool caseSensitive=true) const </td></tr>
<tr class="memdesc:a7e3a514459838e0c5c4b2b9b3703cc8a"><td class="mdescLeft"> </td><td class="mdescRight">Test whether the string is equal to the single character <em>ch</em>. <a href="#a7e3a514459838e0c5c4b2b9b3703cc8a"></a><br/></td></tr>
<tr class="separator:a7e3a514459838e0c5c4b2b9b3703cc8a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0fef65e3bf7f77fa6858521f29a84e20"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a0fef65e3bf7f77fa6858521f29a84e20">Matches</a> (const <a class="el" href="classwx_string.html">wxString</a> &mask) const </td></tr>
<tr class="memdesc:a0fef65e3bf7f77fa6858521f29a84e20"><td class="mdescLeft"> </td><td class="mdescRight">Returns <span class="literal">true</span> if the string contents matches a mask containing '*' and '?'. <a href="#a0fef65e3bf7f77fa6858521f29a84e20"></a><br/></td></tr>
<tr class="separator:a0fef65e3bf7f77fa6858521f29a84e20"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a627b084ee8088734e1b28ee23d67f7bb"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a627b084ee8088734e1b28ee23d67f7bb">StartsWith</a> (const <a class="el" href="classwx_string.html">wxString</a> &prefix, <a class="el" href="classwx_string.html">wxString</a> *rest=NULL) const </td></tr>
<tr class="memdesc:a627b084ee8088734e1b28ee23d67f7bb"><td class="mdescLeft"> </td><td class="mdescRight">This function can be used to test if the string starts with the specified <em>prefix</em>. <a href="#a627b084ee8088734e1b28ee23d67f7bb"></a><br/></td></tr>
<tr class="separator:a627b084ee8088734e1b28ee23d67f7bb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5799047918ccbed5d3166ab9c03be279"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a5799047918ccbed5d3166ab9c03be279">EndsWith</a> (const <a class="el" href="classwx_string.html">wxString</a> &suffix, <a class="el" href="classwx_string.html">wxString</a> *rest=NULL) const </td></tr>
<tr class="memdesc:a5799047918ccbed5d3166ab9c03be279"><td class="mdescLeft"> </td><td class="mdescRight">This function can be used to test if the string ends with the specified <em>suffix</em>. <a href="#a5799047918ccbed5d3166ab9c03be279"></a><br/></td></tr>
<tr class="separator:a5799047918ccbed5d3166ab9c03be279"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Substring extraction</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="substring"></a></p>
<p>These functions allow you to extract a substring from the string.</p>
<p>The original string is not modified and the function returns the extracted substring.</p>
<p>See also the <a class="el" href="classwx_string.html#a875afc9681eb1cfe60c8a578c97a8f14">at()</a> and the <a class="el" href="classwx_string.html#af7832aeeec723684a92e2beafbd45af1">substr()</a> STL-like functions. </p>
</div></td></tr>
<tr class="memitem:a023d5f6b708eff5123f47498fcf151bc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a023d5f6b708eff5123f47498fcf151bc">Mid</a> (size_t first, size_t nCount=<a class="el" href="classwx_string.html#a7f7b5ab972b4be6703f9c779654af247">wxString::npos</a>) const </td></tr>
<tr class="memdesc:a023d5f6b708eff5123f47498fcf151bc"><td class="mdescLeft"> </td><td class="mdescRight">Returns a substring starting at <em>first</em>, with length <em>count</em>, or the rest of the string if <em>count</em> is the default value. <a href="#a023d5f6b708eff5123f47498fcf151bc"></a><br/></td></tr>
<tr class="separator:a023d5f6b708eff5123f47498fcf151bc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a74da2de05c10aa806a4b0264be1f906f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a74da2de05c10aa806a4b0264be1f906f">SubString</a> (size_t from, size_t to) const </td></tr>
<tr class="memdesc:a74da2de05c10aa806a4b0264be1f906f"><td class="mdescLeft"> </td><td class="mdescRight">Returns the part of the string between the indices <em>from</em> and <em>to</em> inclusive. <a href="#a74da2de05c10aa806a4b0264be1f906f"></a><br/></td></tr>
<tr class="separator:a74da2de05c10aa806a4b0264be1f906f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0bcf647b96d18fa8c6962085f4db93c2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a0bcf647b96d18fa8c6962085f4db93c2">operator()</a> (size_t start, size_t len) const </td></tr>
<tr class="memdesc:a0bcf647b96d18fa8c6962085f4db93c2"><td class="mdescLeft"> </td><td class="mdescRight">Same as <a class="el" href="classwx_string.html#a023d5f6b708eff5123f47498fcf151bc" title="Returns a substring starting at first, with length count, or the rest of the string if count is the d...">Mid()</a> (substring extraction). <a href="#a0bcf647b96d18fa8c6962085f4db93c2"></a><br/></td></tr>
<tr class="separator:a0bcf647b96d18fa8c6962085f4db93c2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aaadd66ce3aa4bcfc66459c95cad81550"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#aaadd66ce3aa4bcfc66459c95cad81550">Left</a> (size_t count) const </td></tr>
<tr class="memdesc:aaadd66ce3aa4bcfc66459c95cad81550"><td class="mdescLeft"> </td><td class="mdescRight">Returns the first <em>count</em> characters of the string. <a href="#aaadd66ce3aa4bcfc66459c95cad81550"></a><br/></td></tr>
<tr class="separator:aaadd66ce3aa4bcfc66459c95cad81550"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad1fc08b5bac017acda7c1583c013f6a3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#ad1fc08b5bac017acda7c1583c013f6a3">Right</a> (size_t count) const </td></tr>
<tr class="memdesc:ad1fc08b5bac017acda7c1583c013f6a3"><td class="mdescLeft"> </td><td class="mdescRight">Returns the last <em>count</em> characters. <a href="#ad1fc08b5bac017acda7c1583c013f6a3"></a><br/></td></tr>
<tr class="separator:ad1fc08b5bac017acda7c1583c013f6a3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1605126b7bbf5f60a6fca7f393a58f1d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a1605126b7bbf5f60a6fca7f393a58f1d">AfterFirst</a> (<a class="el" href="classwx_uni_char.html">wxUniChar</a> ch) const </td></tr>
<tr class="memdesc:a1605126b7bbf5f60a6fca7f393a58f1d"><td class="mdescLeft"> </td><td class="mdescRight">Gets all the characters after the first occurrence of <em>ch</em>. <a href="#a1605126b7bbf5f60a6fca7f393a58f1d"></a><br/></td></tr>
<tr class="separator:a1605126b7bbf5f60a6fca7f393a58f1d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a230d2887e27bd53592bea08bc053d912"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a230d2887e27bd53592bea08bc053d912">AfterLast</a> (<a class="el" href="classwx_uni_char.html">wxUniChar</a> ch) const </td></tr>
<tr class="memdesc:a230d2887e27bd53592bea08bc053d912"><td class="mdescLeft"> </td><td class="mdescRight">Gets all the characters after the last occurrence of <em>ch</em>. <a href="#a230d2887e27bd53592bea08bc053d912"></a><br/></td></tr>
<tr class="separator:a230d2887e27bd53592bea08bc053d912"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac37f690daad1637493dc8ffc7c0efe70"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#ac37f690daad1637493dc8ffc7c0efe70">BeforeFirst</a> (<a class="el" href="classwx_uni_char.html">wxUniChar</a> ch, <a class="el" href="classwx_string.html">wxString</a> *rest=NULL) const </td></tr>
<tr class="memdesc:ac37f690daad1637493dc8ffc7c0efe70"><td class="mdescLeft"> </td><td class="mdescRight">Gets all characters before the first occurrence of <em>ch</em>. <a href="#ac37f690daad1637493dc8ffc7c0efe70"></a><br/></td></tr>
<tr class="separator:ac37f690daad1637493dc8ffc7c0efe70"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9b6f088a6ef2faadf922a521df0fae3a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a9b6f088a6ef2faadf922a521df0fae3a">BeforeLast</a> (<a class="el" href="classwx_uni_char.html">wxUniChar</a> ch, <a class="el" href="classwx_string.html">wxString</a> *rest=NULL) const </td></tr>
<tr class="memdesc:a9b6f088a6ef2faadf922a521df0fae3a"><td class="mdescLeft"> </td><td class="mdescRight">Gets all characters before the last occurrence of <em>ch</em>. <a href="#a9b6f088a6ef2faadf922a521df0fae3a"></a><br/></td></tr>
<tr class="separator:a9b6f088a6ef2faadf922a521df0fae3a"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Case conversion</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="caseconv"></a></p>
<p>The MakeXXX() variants modify the string in place, while the other functions return a new string which contains the original text converted to the upper or lower case and leave the original string unchanged. </p>
</div></td></tr>
<tr class="memitem:a88592121dde64b682cd67d30bfc9b45f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a88592121dde64b682cd67d30bfc9b45f">Capitalize</a> () const </td></tr>
<tr class="memdesc:a88592121dde64b682cd67d30bfc9b45f"><td class="mdescLeft"> </td><td class="mdescRight">Return the copy of the string with the first string character in the upper case and the subsequent ones in the lower case. <a href="#a88592121dde64b682cd67d30bfc9b45f"></a><br/></td></tr>
<tr class="separator:a88592121dde64b682cd67d30bfc9b45f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aaacf7a99a2674bc3f462d54181c40f4f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#aaacf7a99a2674bc3f462d54181c40f4f">Lower</a> () const </td></tr>
<tr class="memdesc:aaacf7a99a2674bc3f462d54181c40f4f"><td class="mdescLeft"> </td><td class="mdescRight">Returns this string converted to the lower case. <a href="#aaacf7a99a2674bc3f462d54181c40f4f"></a><br/></td></tr>
<tr class="separator:aaacf7a99a2674bc3f462d54181c40f4f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2eddc0d38ba0090d5f3af1d66c4c702e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a2eddc0d38ba0090d5f3af1d66c4c702e">LowerCase</a> ()</td></tr>
<tr class="memdesc:a2eddc0d38ba0090d5f3af1d66c4c702e"><td class="mdescLeft"> </td><td class="mdescRight">Same as MakeLower. <a href="#a2eddc0d38ba0090d5f3af1d66c4c702e"></a><br/></td></tr>
<tr class="separator:a2eddc0d38ba0090d5f3af1d66c4c702e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7a8ec48b76dac441cd11db49f418d413"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a7a8ec48b76dac441cd11db49f418d413">MakeCapitalized</a> ()</td></tr>
<tr class="memdesc:a7a8ec48b76dac441cd11db49f418d413"><td class="mdescLeft"> </td><td class="mdescRight">Converts the first characters of the string to the upper case and all the subsequent ones to the lower case and returns the result. <a href="#a7a8ec48b76dac441cd11db49f418d413"></a><br/></td></tr>
<tr class="separator:a7a8ec48b76dac441cd11db49f418d413"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3b211c6f784d687ee9bb6033a4684071"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a3b211c6f784d687ee9bb6033a4684071">MakeLower</a> ()</td></tr>
<tr class="memdesc:a3b211c6f784d687ee9bb6033a4684071"><td class="mdescLeft"> </td><td class="mdescRight">Converts all characters to lower case and returns the reference to the modified string. <a href="#a3b211c6f784d687ee9bb6033a4684071"></a><br/></td></tr>
<tr class="separator:a3b211c6f784d687ee9bb6033a4684071"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af862e46d093e1e52fbc4f204e9aea34f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#af862e46d093e1e52fbc4f204e9aea34f">MakeUpper</a> ()</td></tr>
<tr class="memdesc:af862e46d093e1e52fbc4f204e9aea34f"><td class="mdescLeft"> </td><td class="mdescRight">Converts all characters to upper case and returns the reference to the modified string. <a href="#af862e46d093e1e52fbc4f204e9aea34f"></a><br/></td></tr>
<tr class="separator:af862e46d093e1e52fbc4f204e9aea34f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab84d4b6e9f38ba939d61f3382d2a009b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#ab84d4b6e9f38ba939d61f3382d2a009b">Upper</a> () const </td></tr>
<tr class="memdesc:ab84d4b6e9f38ba939d61f3382d2a009b"><td class="mdescLeft"> </td><td class="mdescRight">Returns this string converted to upper case. <a href="#ab84d4b6e9f38ba939d61f3382d2a009b"></a><br/></td></tr>
<tr class="separator:ab84d4b6e9f38ba939d61f3382d2a009b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab708a3eb6b01704bc0019f1cf0de5b4f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#ab708a3eb6b01704bc0019f1cf0de5b4f">UpperCase</a> ()</td></tr>
<tr class="memdesc:ab708a3eb6b01704bc0019f1cf0de5b4f"><td class="mdescLeft"> </td><td class="mdescRight">The same as <a class="el" href="classwx_string.html#af862e46d093e1e52fbc4f204e9aea34f" title="Converts all characters to upper case and returns the reference to the modified string.">MakeUpper()</a>. <a href="#ab708a3eb6b01704bc0019f1cf0de5b4f"></a><br/></td></tr>
<tr class="separator:ab708a3eb6b01704bc0019f1cf0de5b4f"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Searching and replacing</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="search"></a></p>
<p>These functions replace the standard <code>strchr()</code> and <code>strstr()</code> functions.</p>
<p>See also the <a class="el" href="classwx_string.html#a55b90a900c24e9555760265170dc051c">find()</a>, <a class="el" href="classwx_string.html#a501cfba6e92fca9ead383c2bb5689aba">rfind()</a>, <a class="el" href="classwx_string.html#ab8853ed8b4ff8cd1d5ade53b6b95b6e0">replace()</a> STL-like functions. </p>
</div></td></tr>
<tr class="memitem:aed58dc1079da38d257bbc7d0d7800f44"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#aed58dc1079da38d257bbc7d0d7800f44">Find</a> (<a class="el" href="classwx_uni_char.html">wxUniChar</a> ch, bool fromEnd=false) const </td></tr>
<tr class="memdesc:aed58dc1079da38d257bbc7d0d7800f44"><td class="mdescLeft"> </td><td class="mdescRight">Searches for the given character <em>ch</em>. <a href="#aed58dc1079da38d257bbc7d0d7800f44"></a><br/></td></tr>
<tr class="separator:aed58dc1079da38d257bbc7d0d7800f44"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2e6c84a2a60fd1ca4f0465f11a6e5e41"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a2e6c84a2a60fd1ca4f0465f11a6e5e41">Find</a> (const <a class="el" href="classwx_string.html">wxString</a> &sub) const </td></tr>
<tr class="memdesc:a2e6c84a2a60fd1ca4f0465f11a6e5e41"><td class="mdescLeft"> </td><td class="mdescRight">Searches for the given string <em>sub</em>. <a href="#a2e6c84a2a60fd1ca4f0465f11a6e5e41"></a><br/></td></tr>
<tr class="separator:a2e6c84a2a60fd1ca4f0465f11a6e5e41"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a93e1e0634d46ce94d6491abdedc71c21"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a93e1e0634d46ce94d6491abdedc71c21">First</a> (<a class="el" href="classwx_uni_char.html">wxUniChar</a> ch) const </td></tr>
<tr class="memdesc:a93e1e0634d46ce94d6491abdedc71c21"><td class="mdescLeft"> </td><td class="mdescRight">Same as <a class="el" href="classwx_string.html#aed58dc1079da38d257bbc7d0d7800f44" title="Searches for the given character ch.">Find()</a>. <a href="#a93e1e0634d46ce94d6491abdedc71c21"></a><br/></td></tr>
<tr class="separator:a93e1e0634d46ce94d6491abdedc71c21"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6de9a66add4360224a23bdb670181099"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a6de9a66add4360224a23bdb670181099">First</a> (const <a class="el" href="classwx_string.html">wxString</a> &str) const </td></tr>
<tr class="memdesc:a6de9a66add4360224a23bdb670181099"><td class="mdescLeft"> </td><td class="mdescRight">Same as <a class="el" href="classwx_string.html#aed58dc1079da38d257bbc7d0d7800f44" title="Searches for the given character ch.">Find()</a>. <a href="#a6de9a66add4360224a23bdb670181099"></a><br/></td></tr>
<tr class="separator:a6de9a66add4360224a23bdb670181099"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5517e2b01e8da1a7a92400028f1a8344"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a5517e2b01e8da1a7a92400028f1a8344">Replace</a> (const <a class="el" href="classwx_string.html">wxString</a> &strOld, const <a class="el" href="classwx_string.html">wxString</a> &strNew, bool replaceAll=true)</td></tr>
<tr class="memdesc:a5517e2b01e8da1a7a92400028f1a8344"><td class="mdescLeft"> </td><td class="mdescRight">Replace first (or all) occurrences of substring with another one. <a href="#a5517e2b01e8da1a7a92400028f1a8344"></a><br/></td></tr>
<tr class="separator:a5517e2b01e8da1a7a92400028f1a8344"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Conversion to numbers</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="numconv"></a></p>
<p>The string provides functions for conversion to signed and unsigned integer and floating point numbers.</p>
<p>All functions take a pointer to the variable to put the numeric value in and return <span class="literal">true</span> if the <b>entire</b> string could be converted to a number. Notice if there is a valid number in the beginning of the string, it is returned in the output parameter even if the function returns <span class="literal">false</span> because there is more text following it. </p>
</div></td></tr>
<tr class="memitem:afca98ce954f669ec69696372e81d46ac"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#afca98ce954f669ec69696372e81d46ac">ToDouble</a> (double *val) const </td></tr>
<tr class="memdesc:afca98ce954f669ec69696372e81d46ac"><td class="mdescLeft"> </td><td class="mdescRight">Attempts to convert the string to a floating point number. <a href="#afca98ce954f669ec69696372e81d46ac"></a><br/></td></tr>
<tr class="separator:afca98ce954f669ec69696372e81d46ac"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a81ee01c0c1f9c2264506d674f1f2b733"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a81ee01c0c1f9c2264506d674f1f2b733">ToCDouble</a> (double *val) const </td></tr>
<tr class="memdesc:a81ee01c0c1f9c2264506d674f1f2b733"><td class="mdescLeft"> </td><td class="mdescRight">Variant of <a class="el" href="classwx_string.html#afca98ce954f669ec69696372e81d46ac" title="Attempts to convert the string to a floating point number.">ToDouble()</a> always working in "C" locale. <a href="#a81ee01c0c1f9c2264506d674f1f2b733"></a><br/></td></tr>
<tr class="separator:a81ee01c0c1f9c2264506d674f1f2b733"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abb54083175bbc1e1164616b4aa64fcd8"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#abb54083175bbc1e1164616b4aa64fcd8">ToLong</a> (long *val, int base=10) const </td></tr>
<tr class="memdesc:abb54083175bbc1e1164616b4aa64fcd8"><td class="mdescLeft"> </td><td class="mdescRight">Attempts to convert the string to a signed integer in base <em>base</em>. <a href="#abb54083175bbc1e1164616b4aa64fcd8"></a><br/></td></tr>
<tr class="separator:abb54083175bbc1e1164616b4aa64fcd8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2d7fb808fae67a4226ebeedf854a5a03"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a2d7fb808fae67a4226ebeedf854a5a03">ToCLong</a> (long *val, int base=10) const </td></tr>
<tr class="memdesc:a2d7fb808fae67a4226ebeedf854a5a03"><td class="mdescLeft"> </td><td class="mdescRight">Variant of <a class="el" href="classwx_string.html#abb54083175bbc1e1164616b4aa64fcd8" title="Attempts to convert the string to a signed integer in base base.">ToLong()</a> always working in "C" locale. <a href="#a2d7fb808fae67a4226ebeedf854a5a03"></a><br/></td></tr>
<tr class="separator:a2d7fb808fae67a4226ebeedf854a5a03"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a978e566d90ff4ed900fb353c7160c4d2"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a978e566d90ff4ed900fb353c7160c4d2">ToLongLong</a> (wxLongLong_t *val, int base=10) const </td></tr>
<tr class="memdesc:a978e566d90ff4ed900fb353c7160c4d2"><td class="mdescLeft"> </td><td class="mdescRight">This is exactly the same as <a class="el" href="classwx_string.html#abb54083175bbc1e1164616b4aa64fcd8" title="Attempts to convert the string to a signed integer in base base.">ToLong()</a> but works with 64 bit integer numbers. <a href="#a978e566d90ff4ed900fb353c7160c4d2"></a><br/></td></tr>
<tr class="separator:a978e566d90ff4ed900fb353c7160c4d2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a36a50d60b6d2ff7a08f112c8db8fc109"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a36a50d60b6d2ff7a08f112c8db8fc109">ToULong</a> (unsigned long *val, int base=10) const </td></tr>
<tr class="memdesc:a36a50d60b6d2ff7a08f112c8db8fc109"><td class="mdescLeft"> </td><td class="mdescRight">Attempts to convert the string to an unsigned integer in base <em>base</em>. <a href="#a36a50d60b6d2ff7a08f112c8db8fc109"></a><br/></td></tr>
<tr class="separator:a36a50d60b6d2ff7a08f112c8db8fc109"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a545b481942916202dacaaee5e558d035"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a545b481942916202dacaaee5e558d035">ToCULong</a> (unsigned long *val, int base=10) const </td></tr>
<tr class="memdesc:a545b481942916202dacaaee5e558d035"><td class="mdescLeft"> </td><td class="mdescRight">Variant of <a class="el" href="classwx_string.html#a36a50d60b6d2ff7a08f112c8db8fc109" title="Attempts to convert the string to an unsigned integer in base base.">ToULong()</a> always working in "C" locale. <a href="#a545b481942916202dacaaee5e558d035"></a><br/></td></tr>
<tr class="separator:a545b481942916202dacaaee5e558d035"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab9a3972bffb4edf0b5568b23f519de01"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#ab9a3972bffb4edf0b5568b23f519de01">ToULongLong</a> (wxULongLong_t *val, int base=10) const </td></tr>
<tr class="memdesc:ab9a3972bffb4edf0b5568b23f519de01"><td class="mdescLeft"> </td><td class="mdescRight">This is exactly the same as <a class="el" href="classwx_string.html#a36a50d60b6d2ff7a08f112c8db8fc109" title="Attempts to convert the string to an unsigned integer in base base.">ToULong()</a> but works with 64 bit integer numbers. <a href="#ab9a3972bffb4edf0b5568b23f519de01"></a><br/></td></tr>
<tr class="separator:ab9a3972bffb4edf0b5568b23f519de01"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Formatting and printing</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="fmt"></a></p>
<p>Both formatted versions (Printf/() and stream-like insertion operators exist (for basic types only).</p>
<p>See also the static <a class="el" href="classwx_string.html#addd9ccfa3ae2b7ab2d66bcbf034d0be0" title="This static function returns the string containing the result of calling Printf() with the passed par...">Format()</a> and <a class="el" href="classwx_string.html#aa7bc330dcb0248bb8e886d27c4983ef5" title="This static function returns the string containing the result of calling PrintfV() with the passed pa...">FormatV()</a> functions. </p>
</div></td></tr>
<tr class="memitem:a9588b7f2684b9a6a924dc3746a2b2f8d"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a9588b7f2684b9a6a924dc3746a2b2f8d">Printf</a> (const <a class="el" href="classwx_string.html">wxString</a> &pszFormat,...)</td></tr>
<tr class="memdesc:a9588b7f2684b9a6a924dc3746a2b2f8d"><td class="mdescLeft"> </td><td class="mdescRight">Similar to the standard function <em>sprintf()</em>. <a href="#a9588b7f2684b9a6a924dc3746a2b2f8d"></a><br/></td></tr>
<tr class="separator:a9588b7f2684b9a6a924dc3746a2b2f8d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5670779cbafb35c454a6d7664b6a6064"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a5670779cbafb35c454a6d7664b6a6064">PrintfV</a> (const <a class="el" href="classwx_string.html">wxString</a> &pszFormat, va_list argPtr)</td></tr>
<tr class="memdesc:a5670779cbafb35c454a6d7664b6a6064"><td class="mdescLeft"> </td><td class="mdescRight">Similar to vprintf. <a href="#a5670779cbafb35c454a6d7664b6a6064"></a><br/></td></tr>
<tr class="separator:a5670779cbafb35c454a6d7664b6a6064"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Memory management</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="mem"></a></p>
<p>The following are "advanced" functions and they will be needed rarely.</p>
<p><a class="el" href="classwx_string.html#a87e614d9924a1b5524334aac3fc96d38" title="Preallocate enough space for wxString to store nLen characters.">Alloc()</a> and <a class="el" href="classwx_string.html#ae81a1f0b72aa33325f922aa50579de59" title="Minimizes the string's memory.">Shrink()</a> are only interesting for optimization purposes. <a class="el" href="classwx_string_buffer.html" title="This tiny class allows you to conveniently access the wxString internal buffer as a writable pointer ...">wxStringBuffer</a> and <a class="el" href="classwx_string_buffer_length.html" title="This tiny class allows you to conveniently access the wxString internal buffer as a writable pointer ...">wxStringBufferLength</a> classes may be very useful when working with some external API which requires the caller to provide a writable buffer.</p>
<p>See also the <a class="el" href="classwx_string.html#a3fa50b251ca98e1e5d2aa8d73c688b57">reserve()</a> and <a class="el" href="classwx_string.html#ab79b33581860edeced7855c70af192d5">resize()</a> STL-like functions. </p>
</div></td></tr>
<tr class="memitem:a87e614d9924a1b5524334aac3fc96d38"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a87e614d9924a1b5524334aac3fc96d38">Alloc</a> (size_t nLen)</td></tr>
<tr class="memdesc:a87e614d9924a1b5524334aac3fc96d38"><td class="mdescLeft"> </td><td class="mdescRight">Preallocate enough space for <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> to store <em>nLen</em> characters. <a href="#a87e614d9924a1b5524334aac3fc96d38"></a><br/></td></tr>
<tr class="separator:a87e614d9924a1b5524334aac3fc96d38"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae81a1f0b72aa33325f922aa50579de59"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#ae81a1f0b72aa33325f922aa50579de59">Shrink</a> ()</td></tr>
<tr class="memdesc:ae81a1f0b72aa33325f922aa50579de59"><td class="mdescLeft"> </td><td class="mdescRight">Minimizes the string's memory. <a href="#ae81a1f0b72aa33325f922aa50579de59"></a><br/></td></tr>
<tr class="separator:ae81a1f0b72aa33325f922aa50579de59"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afe63f53ecaa197333c405ca985f733fe"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#afe63f53ecaa197333c405ca985f733fe">Clone</a> () const </td></tr>
<tr class="memdesc:afe63f53ecaa197333c405ca985f733fe"><td class="mdescLeft"> </td><td class="mdescRight">Returns a deep copy of the string. <a href="#afe63f53ecaa197333c405ca985f733fe"></a><br/></td></tr>
<tr class="separator:afe63f53ecaa197333c405ca985f733fe"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a39f5e308eb0192cac2e338bedb377ee0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a39f5e308eb0192cac2e338bedb377ee0">Clear</a> ()</td></tr>
<tr class="memdesc:a39f5e308eb0192cac2e338bedb377ee0"><td class="mdescLeft"> </td><td class="mdescRight">Empties the string and frees memory occupied by it. <a href="#a39f5e308eb0192cac2e338bedb377ee0"></a><br/></td></tr>
<tr class="separator:a39f5e308eb0192cac2e338bedb377ee0"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Miscellaneous</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="misc"></a></p>
<p>Miscellaneous other string functions. </p>
</div></td></tr>
<tr class="memitem:a05fb8f3d4827186ff18a6bac99d7133a"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a05fb8f3d4827186ff18a6bac99d7133a">Contains</a> (const <a class="el" href="classwx_string.html">wxString</a> &str) const </td></tr>
<tr class="memdesc:a05fb8f3d4827186ff18a6bac99d7133a"><td class="mdescLeft"> </td><td class="mdescRight">Returns <span class="literal">true</span> if target appears anywhere in <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a>; else <span class="literal">false</span>. <a href="#a05fb8f3d4827186ff18a6bac99d7133a"></a><br/></td></tr>
<tr class="separator:a05fb8f3d4827186ff18a6bac99d7133a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a07b0dcc83872b23833a7335b2b931c42"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a07b0dcc83872b23833a7335b2b931c42">Empty</a> ()</td></tr>
<tr class="memdesc:a07b0dcc83872b23833a7335b2b931c42"><td class="mdescLeft"> </td><td class="mdescRight">Makes the string empty, but doesn't free memory occupied by the string. <a href="#a07b0dcc83872b23833a7335b2b931c42"></a><br/></td></tr>
<tr class="separator:a07b0dcc83872b23833a7335b2b931c42"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a90e66e8c77af2526a407eb82a1565df6"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a90e66e8c77af2526a407eb82a1565df6">Freq</a> (<a class="el" href="classwx_uni_char.html">wxUniChar</a> ch) const </td></tr>
<tr class="memdesc:a90e66e8c77af2526a407eb82a1565df6"><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of occurrences of <em>ch</em> in the string. <a href="#a90e66e8c77af2526a407eb82a1565df6"></a><br/></td></tr>
<tr class="separator:a90e66e8c77af2526a407eb82a1565df6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a932ddb6b4786213596c3e41b1fa1f7c5"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a932ddb6b4786213596c3e41b1fa1f7c5">IsAscii</a> () const </td></tr>
<tr class="memdesc:a932ddb6b4786213596c3e41b1fa1f7c5"><td class="mdescLeft"> </td><td class="mdescRight">Returns <span class="literal">true</span> if the string contains only ASCII characters. <a href="#a932ddb6b4786213596c3e41b1fa1f7c5"></a><br/></td></tr>
<tr class="separator:a932ddb6b4786213596c3e41b1fa1f7c5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a42fc468fb16b820b1b599fadfc6285cb"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a42fc468fb16b820b1b599fadfc6285cb">IsNumber</a> () const </td></tr>
<tr class="memdesc:a42fc468fb16b820b1b599fadfc6285cb"><td class="mdescLeft"> </td><td class="mdescRight">Returns <span class="literal">true</span> if the string is an integer (with possible sign). <a href="#a42fc468fb16b820b1b599fadfc6285cb"></a><br/></td></tr>
<tr class="separator:a42fc468fb16b820b1b599fadfc6285cb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1b27a667e2c97b561e8dbb917e491cf0"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a1b27a667e2c97b561e8dbb917e491cf0">IsWord</a> () const </td></tr>
<tr class="memdesc:a1b27a667e2c97b561e8dbb917e491cf0"><td class="mdescLeft"> </td><td class="mdescRight">Returns <span class="literal">true</span> if the string is a word. <a href="#a1b27a667e2c97b561e8dbb917e491cf0"></a><br/></td></tr>
<tr class="separator:a1b27a667e2c97b561e8dbb917e491cf0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4edc1cfe89c876f84997ac315a39cf4e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a4edc1cfe89c876f84997ac315a39cf4e">Pad</a> (size_t count, <a class="el" href="classwx_uni_char.html">wxUniChar</a> chPad= ' ', bool fromRight=true)</td></tr>
<tr class="memdesc:a4edc1cfe89c876f84997ac315a39cf4e"><td class="mdescLeft"> </td><td class="mdescRight">Adds <em>count</em> copies of <em>chPad</em> to the beginning, or to the end of the string (the default). <a href="#a4edc1cfe89c876f84997ac315a39cf4e"></a><br/></td></tr>
<tr class="separator:a4edc1cfe89c876f84997ac315a39cf4e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9a83357210198cefd2d7d1411db1838d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a9a83357210198cefd2d7d1411db1838d">Remove</a> (size_t pos)</td></tr>
<tr class="memdesc:a9a83357210198cefd2d7d1411db1838d"><td class="mdescLeft"> </td><td class="mdescRight">Removes all characters from the string starting at <em>pos</em>. <a href="#a9a83357210198cefd2d7d1411db1838d"></a><br/></td></tr>
<tr class="separator:a9a83357210198cefd2d7d1411db1838d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a497880b0bba35d3693883eef14fbdf36"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a497880b0bba35d3693883eef14fbdf36">Remove</a> (size_t pos, size_t len)</td></tr>
<tr class="memdesc:a497880b0bba35d3693883eef14fbdf36"><td class="mdescLeft"> </td><td class="mdescRight">Removes <em>len</em> characters from the string, starting at <em>pos</em>. <a href="#a497880b0bba35d3693883eef14fbdf36"></a><br/></td></tr>
<tr class="separator:a497880b0bba35d3693883eef14fbdf36"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa375e1718cb40fd991e89428e620ba82"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#aa375e1718cb40fd991e89428e620ba82">RemoveLast</a> (size_t n=1)</td></tr>
<tr class="memdesc:aa375e1718cb40fd991e89428e620ba82"><td class="mdescLeft"> </td><td class="mdescRight">Removes the last character. <a href="#aa375e1718cb40fd991e89428e620ba82"></a><br/></td></tr>
<tr class="separator:aa375e1718cb40fd991e89428e620ba82"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a35746c99cc72c2d424c91f2ba0cd8606"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a35746c99cc72c2d424c91f2ba0cd8606">Strip</a> (stripType s=trailing) const </td></tr>
<tr class="memdesc:a35746c99cc72c2d424c91f2ba0cd8606"><td class="mdescLeft"> </td><td class="mdescRight">Strip characters at the front and/or end. <a href="#a35746c99cc72c2d424c91f2ba0cd8606"></a><br/></td></tr>
<tr class="separator:a35746c99cc72c2d424c91f2ba0cd8606"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aefd36feb8f3c36edcf3322f84de0bfc4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#aefd36feb8f3c36edcf3322f84de0bfc4">Trim</a> (bool fromRight=true)</td></tr>
<tr class="memdesc:aefd36feb8f3c36edcf3322f84de0bfc4"><td class="mdescLeft"> </td><td class="mdescRight">Removes white-space (space, tabs, form feed, newline and carriage return) from the left or from the right end of the string (right is default). <a href="#aefd36feb8f3c36edcf3322f84de0bfc4"></a><br/></td></tr>
<tr class="separator:aefd36feb8f3c36edcf3322f84de0bfc4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9b66809526638b11208bfe36cf895f36"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a9b66809526638b11208bfe36cf895f36">Truncate</a> (size_t len)</td></tr>
<tr class="memdesc:a9b66809526638b11208bfe36cf895f36"><td class="mdescLeft"> </td><td class="mdescRight">Truncate the string to the given length. <a href="#a9b66809526638b11208bfe36cf895f36"></a><br/></td></tr>
<tr class="separator:a9b66809526638b11208bfe36cf895f36"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Iterator interface</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="iter"></a></p>
<p>These methods return iterators to the beginning or end of the string.</p>
<p>Please see any STL reference (e.g. <a href="http://www.cppreference.com/wiki/string/start">http://www.cppreference.com/wiki/string/start</a>) for their documentation. </p>
</div></td></tr>
<tr class="memitem:ad59ca2dd208720b3cce07d90bcb90093"><td class="memItemLeft" align="right" valign="top">const_iterator </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#ad59ca2dd208720b3cce07d90bcb90093">begin</a> () const </td></tr>
<tr class="separator:ad59ca2dd208720b3cce07d90bcb90093"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab2b671a75b59a8c6c1af4d6d647f9902"><td class="memItemLeft" align="right" valign="top">iterator </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#ab2b671a75b59a8c6c1af4d6d647f9902">begin</a> ()</td></tr>
<tr class="separator:ab2b671a75b59a8c6c1af4d6d647f9902"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6a0f235fff88df5e6b16b5f0e1e719cc"><td class="memItemLeft" align="right" valign="top">const_iterator </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a6a0f235fff88df5e6b16b5f0e1e719cc">end</a> () const </td></tr>
<tr class="separator:a6a0f235fff88df5e6b16b5f0e1e719cc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a14fb759ca1074e9fbab66f9579bd7b25"><td class="memItemLeft" align="right" valign="top">iterator </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a14fb759ca1074e9fbab66f9579bd7b25">end</a> ()</td></tr>
<tr class="separator:a14fb759ca1074e9fbab66f9579bd7b25"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1136ebe0b44f7f66494c1061b450e0f8"><td class="memItemLeft" align="right" valign="top">const_reverse_iterator </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a1136ebe0b44f7f66494c1061b450e0f8">rbegin</a> () const </td></tr>
<tr class="separator:a1136ebe0b44f7f66494c1061b450e0f8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae63061f3a0c0f91224e91daf988af434"><td class="memItemLeft" align="right" valign="top">reverse_iterator </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#ae63061f3a0c0f91224e91daf988af434">rbegin</a> ()</td></tr>
<tr class="separator:ae63061f3a0c0f91224e91daf988af434"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4e2a503f15ce18a01492fce44dd21737"><td class="memItemLeft" align="right" valign="top">const_reverse_iterator </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a4e2a503f15ce18a01492fce44dd21737">rend</a> () const </td></tr>
<tr class="separator:a4e2a503f15ce18a01492fce44dd21737"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a114b4b3a040be56dfda6b5983d822cd9"><td class="memItemLeft" align="right" valign="top">reverse_iterator </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a114b4b3a040be56dfda6b5983d822cd9">rend</a> ()</td></tr>
<tr class="separator:a114b4b3a040be56dfda6b5983d822cd9"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">STL interface</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="stl"></a></p>
<p>The supported STL functions are listed here.</p>
<p>Please see any STL reference (e.g. <a href="http://www.cppreference.com/wiki/string/start">http://www.cppreference.com/wiki/string/start</a>) for their documentation. </p>
</div></td></tr>
<tr class="memitem:aa07c1e103eea1da6bfd91a6aa33bfa15"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#aa07c1e103eea1da6bfd91a6aa33bfa15">append</a> (const <a class="el" href="classwx_string.html">wxString</a> &str, size_t pos, size_t n)</td></tr>
<tr class="separator:aa07c1e103eea1da6bfd91a6aa33bfa15"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af06ef38f5158d1e04d4358416c323b3f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#af06ef38f5158d1e04d4358416c323b3f">append</a> (const <a class="el" href="classwx_string.html">wxString</a> &str)</td></tr>
<tr class="separator:af06ef38f5158d1e04d4358416c323b3f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9594c001adc6a018ef2cb1e326fb7f98"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a9594c001adc6a018ef2cb1e326fb7f98">append</a> (const char *sz, size_t n)</td></tr>
<tr class="separator:a9594c001adc6a018ef2cb1e326fb7f98"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a612ebe397444e8097c79292f76d67499"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a612ebe397444e8097c79292f76d67499">append</a> (const wchar_t *sz, size_t n)</td></tr>
<tr class="separator:a612ebe397444e8097c79292f76d67499"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad1ac59548b8d480b644b01e6244a67c7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#ad1ac59548b8d480b644b01e6244a67c7">append</a> (size_t n, <a class="el" href="classwx_uni_char.html">wxUniChar</a> ch)</td></tr>
<tr class="separator:ad1ac59548b8d480b644b01e6244a67c7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5d4ce358f124e7e61e30763f7799633b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a5d4ce358f124e7e61e30763f7799633b">append</a> (const_iterator first, const_iterator last)</td></tr>
<tr class="separator:a5d4ce358f124e7e61e30763f7799633b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa621f3bc053edf813635f448022d14df"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#aa621f3bc053edf813635f448022d14df">assign</a> (const <a class="el" href="classwx_string.html">wxString</a> &str, size_t pos, size_t n)</td></tr>
<tr class="separator:aa621f3bc053edf813635f448022d14df"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4fb8d2be6be4727f07414184eabee32f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a4fb8d2be6be4727f07414184eabee32f">assign</a> (const <a class="el" href="classwx_string.html">wxString</a> &str)</td></tr>
<tr class="separator:a4fb8d2be6be4727f07414184eabee32f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a61f0dbe9615977014ad46f850c044796"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a61f0dbe9615977014ad46f850c044796">assign</a> (const char *sz, size_t n)</td></tr>
<tr class="separator:a61f0dbe9615977014ad46f850c044796"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3759362fd178dd5c833f20b8a4ba326f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a3759362fd178dd5c833f20b8a4ba326f">assign</a> (const wchar_t *sz, size_t n)</td></tr>
<tr class="separator:a3759362fd178dd5c833f20b8a4ba326f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2002ee6b6e474a1466bfa495ae389662"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a2002ee6b6e474a1466bfa495ae389662">assign</a> (size_t n, <a class="el" href="classwx_uni_char.html">wxUniChar</a> ch)</td></tr>
<tr class="separator:a2002ee6b6e474a1466bfa495ae389662"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a66914915ab17cc690d42009f478dcd93"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a66914915ab17cc690d42009f478dcd93">assign</a> (const_iterator first, const_iterator last)</td></tr>
<tr class="separator:a66914915ab17cc690d42009f478dcd93"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a875afc9681eb1cfe60c8a578c97a8f14"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_uni_char.html">wxUniChar</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a875afc9681eb1cfe60c8a578c97a8f14">at</a> (size_t n) const </td></tr>
<tr class="separator:a875afc9681eb1cfe60c8a578c97a8f14"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af2706738677db54403e91bfd824595f5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_uni_char_ref.html">wxUniCharRef</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#af2706738677db54403e91bfd824595f5">at</a> (size_t n)</td></tr>
<tr class="separator:af2706738677db54403e91bfd824595f5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4dcd0f3f0fe03ccddb85df2f3b18d665"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a4dcd0f3f0fe03ccddb85df2f3b18d665">clear</a> ()</td></tr>
<tr class="separator:a4dcd0f3f0fe03ccddb85df2f3b18d665"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a307ff6af69fbce1a22ded1b34ee134e2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html#afc144b1e31fffd1a9fc6ba8a551cc073">size_type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a307ff6af69fbce1a22ded1b34ee134e2">capacity</a> () const </td></tr>
<tr class="separator:a307ff6af69fbce1a22ded1b34ee134e2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:addee33a9b9e21e4803bccdda8e362548"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#addee33a9b9e21e4803bccdda8e362548">compare</a> (const <a class="el" href="classwx_string.html">wxString</a> &str) const </td></tr>
<tr class="separator:addee33a9b9e21e4803bccdda8e362548"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af99ab8db21458830fd68a9202a196a88"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#af99ab8db21458830fd68a9202a196a88">compare</a> (size_t nStart, size_t nLen, const <a class="el" href="classwx_string.html">wxString</a> &str) const </td></tr>
<tr class="separator:af99ab8db21458830fd68a9202a196a88"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7a4c43b3d8ce95a86cb134091a382098"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a7a4c43b3d8ce95a86cb134091a382098">compare</a> (size_t nStart, size_t nLen, const <a class="el" href="classwx_string.html">wxString</a> &str, size_t nStart2, size_t nLen2) const </td></tr>
<tr class="separator:a7a4c43b3d8ce95a86cb134091a382098"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a70a0299d62d4a6207d1b89db82337cd0"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a70a0299d62d4a6207d1b89db82337cd0">compare</a> (size_t nStart, size_t nLen, const char *sz, size_t nCount=<a class="el" href="classwx_string.html#a7f7b5ab972b4be6703f9c779654af247">npos</a>) const </td></tr>
<tr class="separator:a70a0299d62d4a6207d1b89db82337cd0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8aa121108c7f05fce3d36477b55f3e7c"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a8aa121108c7f05fce3d36477b55f3e7c">compare</a> (size_t nStart, size_t nLen, const wchar_t *sz, size_t nCount=<a class="el" href="classwx_string.html#a7f7b5ab972b4be6703f9c779654af247">npos</a>) const </td></tr>
<tr class="separator:a8aa121108c7f05fce3d36477b55f3e7c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1ce523326d36035117eaf41019f3eefe"><td class="memItemLeft" align="right" valign="top">wxCStrData </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a1ce523326d36035117eaf41019f3eefe">data</a> () const </td></tr>
<tr class="separator:a1ce523326d36035117eaf41019f3eefe"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac6ae24a8ccc6e4e671f972948fca437c"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#ac6ae24a8ccc6e4e671f972948fca437c">empty</a> () const </td></tr>
<tr class="separator:ac6ae24a8ccc6e4e671f972948fca437c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acb2c7985fb9550bb057b62bd6e5b4305"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#acb2c7985fb9550bb057b62bd6e5b4305">erase</a> (<a class="el" href="classwx_string.html#afc144b1e31fffd1a9fc6ba8a551cc073">size_type</a> pos=0, <a class="el" href="classwx_string.html#afc144b1e31fffd1a9fc6ba8a551cc073">size_type</a> n=<a class="el" href="classwx_string.html#a7f7b5ab972b4be6703f9c779654af247">npos</a>)</td></tr>
<tr class="separator:acb2c7985fb9550bb057b62bd6e5b4305"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a55b82ddfe4dae84a49ef9e175bdadd80"><td class="memItemLeft" align="right" valign="top">iterator </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a55b82ddfe4dae84a49ef9e175bdadd80">erase</a> (iterator first, iterator last)</td></tr>
<tr class="separator:a55b82ddfe4dae84a49ef9e175bdadd80"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ada23f52354ca0625e520b84adfc41ce4"><td class="memItemLeft" align="right" valign="top">iterator </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#ada23f52354ca0625e520b84adfc41ce4">erase</a> (iterator first)</td></tr>
<tr class="separator:ada23f52354ca0625e520b84adfc41ce4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a55b90a900c24e9555760265170dc051c"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a55b90a900c24e9555760265170dc051c">find</a> (const <a class="el" href="classwx_string.html">wxString</a> &str, size_t nStart=0) const </td></tr>
<tr class="separator:a55b90a900c24e9555760265170dc051c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abae93815cb89f51dc9e3d39f31f7e5f0"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#abae93815cb89f51dc9e3d39f31f7e5f0">find</a> (const char *sz, size_t nStart=0, size_t n=<a class="el" href="classwx_string.html#a7f7b5ab972b4be6703f9c779654af247">npos</a>) const </td></tr>
<tr class="separator:abae93815cb89f51dc9e3d39f31f7e5f0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0647cf0e9f6a7e304c4d74c0c1c4ae3e"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a0647cf0e9f6a7e304c4d74c0c1c4ae3e">find</a> (const wchar_t *sz, size_t nStart=0, size_t n=<a class="el" href="classwx_string.html#a7f7b5ab972b4be6703f9c779654af247">npos</a>) const </td></tr>
<tr class="separator:a0647cf0e9f6a7e304c4d74c0c1c4ae3e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad7ba8dd973c3801b5213c00283139c89"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#ad7ba8dd973c3801b5213c00283139c89">find</a> (<a class="el" href="classwx_uni_char.html">wxUniChar</a> ch, size_t nStart=0) const </td></tr>
<tr class="separator:ad7ba8dd973c3801b5213c00283139c89"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a778b7aa9baee20cc7d6c6a04798fdb3d"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a778b7aa9baee20cc7d6c6a04798fdb3d">find_first_of</a> (const char *sz, size_t nStart=0) const </td></tr>
<tr class="separator:a778b7aa9baee20cc7d6c6a04798fdb3d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa3ab85ecd15c38fe21ac931c7bc8a3dd"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#aa3ab85ecd15c38fe21ac931c7bc8a3dd">find_first_of</a> (const wchar_t *sz, size_t nStart=0) const </td></tr>
<tr class="separator:aa3ab85ecd15c38fe21ac931c7bc8a3dd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acde44adf742b40be75b61f936df44134"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#acde44adf742b40be75b61f936df44134">find_first_of</a> (const char *sz, size_t nStart, size_t n) const </td></tr>
<tr class="separator:acde44adf742b40be75b61f936df44134"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3c72aabe6f5c3a27c1aa2ee55746c0da"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a3c72aabe6f5c3a27c1aa2ee55746c0da">find_first_of</a> (const wchar_t *sz, size_t nStart, size_t n) const </td></tr>
<tr class="separator:a3c72aabe6f5c3a27c1aa2ee55746c0da"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad17ac2c5c165b4534033360a44c2172e"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#ad17ac2c5c165b4534033360a44c2172e">find_first_of</a> (<a class="el" href="classwx_uni_char.html">wxUniChar</a> c, size_t nStart=0) const </td></tr>
<tr class="separator:ad17ac2c5c165b4534033360a44c2172e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a50410c23c851cf0b4ffaad265532cd65"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a50410c23c851cf0b4ffaad265532cd65">find_last_of</a> (const <a class="el" href="classwx_string.html">wxString</a> &str, size_t nStart=<a class="el" href="classwx_string.html#a7f7b5ab972b4be6703f9c779654af247">npos</a>) const </td></tr>
<tr class="separator:a50410c23c851cf0b4ffaad265532cd65"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1e68c5b448d44ecda22b0eefb3ad8ad1"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a1e68c5b448d44ecda22b0eefb3ad8ad1">find_last_of</a> (const char *sz, size_t nStart=<a class="el" href="classwx_string.html#a7f7b5ab972b4be6703f9c779654af247">npos</a>) const </td></tr>
<tr class="separator:a1e68c5b448d44ecda22b0eefb3ad8ad1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab8056912b1be04a4a4f9519d5c4ae935"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#ab8056912b1be04a4a4f9519d5c4ae935">find_last_of</a> (const wchar_t *sz, size_t nStart=<a class="el" href="classwx_string.html#a7f7b5ab972b4be6703f9c779654af247">npos</a>) const </td></tr>
<tr class="separator:ab8056912b1be04a4a4f9519d5c4ae935"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a47acab8e0ae8925191588017866fd527"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a47acab8e0ae8925191588017866fd527">find_last_of</a> (const char *sz, size_t nStart, size_t n) const </td></tr>
<tr class="separator:a47acab8e0ae8925191588017866fd527"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a666e095db7daa384753df47f94f4c03b"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a666e095db7daa384753df47f94f4c03b">find_last_of</a> (const wchar_t *sz, size_t nStart, size_t n) const </td></tr>
<tr class="separator:a666e095db7daa384753df47f94f4c03b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad54160d6b7fb0ec64af3f182b37642c4"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#ad54160d6b7fb0ec64af3f182b37642c4">find_last_of</a> (<a class="el" href="classwx_uni_char.html">wxUniChar</a> c, size_t nStart=<a class="el" href="classwx_string.html#a7f7b5ab972b4be6703f9c779654af247">npos</a>) const </td></tr>
<tr class="separator:ad54160d6b7fb0ec64af3f182b37642c4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa5c1c55cac296299be911f6d8d4724f2"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#aa5c1c55cac296299be911f6d8d4724f2">find_first_not_of</a> (const <a class="el" href="classwx_string.html">wxString</a> &str, size_t nStart=0) const </td></tr>
<tr class="separator:aa5c1c55cac296299be911f6d8d4724f2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5d26643e87027a337820791d0fe6affb"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a5d26643e87027a337820791d0fe6affb">find_first_not_of</a> (const char *sz, size_t nStart=0) const </td></tr>
<tr class="separator:a5d26643e87027a337820791d0fe6affb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a26ceb1ff58d5e157c03e9497c0e45559"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a26ceb1ff58d5e157c03e9497c0e45559">find_first_not_of</a> (const wchar_t *sz, size_t nStart=0) const </td></tr>
<tr class="separator:a26ceb1ff58d5e157c03e9497c0e45559"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a09d206a66d81cc9b4b6abd88b284e9b6"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a09d206a66d81cc9b4b6abd88b284e9b6">find_first_not_of</a> (const char *sz, size_t nStart, size_t n) const </td></tr>
<tr class="separator:a09d206a66d81cc9b4b6abd88b284e9b6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9f54dcd53eec75c561969a3b6f587525"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a9f54dcd53eec75c561969a3b6f587525">find_first_not_of</a> (const wchar_t *sz, size_t nStart, size_t n) const </td></tr>
<tr class="separator:a9f54dcd53eec75c561969a3b6f587525"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a814c6a48005f540df17259f299cb3eae"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a814c6a48005f540df17259f299cb3eae">find_first_not_of</a> (<a class="el" href="classwx_uni_char.html">wxUniChar</a> ch, size_t nStart=0) const </td></tr>
<tr class="separator:a814c6a48005f540df17259f299cb3eae"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a012a6b2c01e64e5934782bad7880d3c4"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a012a6b2c01e64e5934782bad7880d3c4">find_last_not_of</a> (const <a class="el" href="classwx_string.html">wxString</a> &str, size_t nStart=<a class="el" href="classwx_string.html#a7f7b5ab972b4be6703f9c779654af247">npos</a>) const </td></tr>
<tr class="separator:a012a6b2c01e64e5934782bad7880d3c4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a29b2188b433f8752a7aec77e96def9ef"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a29b2188b433f8752a7aec77e96def9ef">find_last_not_of</a> (const char *sz, size_t nStart=<a class="el" href="classwx_string.html#a7f7b5ab972b4be6703f9c779654af247">npos</a>) const </td></tr>
<tr class="separator:a29b2188b433f8752a7aec77e96def9ef"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a37d66f9b00971bfe1d6ab8047ecdae1a"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a37d66f9b00971bfe1d6ab8047ecdae1a">find_last_not_of</a> (const wchar_t *sz, size_t nStart=<a class="el" href="classwx_string.html#a7f7b5ab972b4be6703f9c779654af247">npos</a>) const </td></tr>
<tr class="separator:a37d66f9b00971bfe1d6ab8047ecdae1a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aef1ad6bd1d63fd2faaa648bd9e7ba421"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#aef1ad6bd1d63fd2faaa648bd9e7ba421">find_last_not_of</a> (const char *sz, size_t nStart, size_t n) const </td></tr>
<tr class="separator:aef1ad6bd1d63fd2faaa648bd9e7ba421"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a113341165cd0f9e0f2fd1c15c47e1a89"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a113341165cd0f9e0f2fd1c15c47e1a89">find_last_not_of</a> (const wchar_t *sz, size_t nStart, size_t n) const </td></tr>
<tr class="separator:a113341165cd0f9e0f2fd1c15c47e1a89"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af81fb656038da7c98f62317f55db15a4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#af81fb656038da7c98f62317f55db15a4">insert</a> (size_t nPos, const <a class="el" href="classwx_string.html">wxString</a> &str)</td></tr>
<tr class="separator:af81fb656038da7c98f62317f55db15a4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1788e00ec8fc04ff6607e3502ad34e55"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a1788e00ec8fc04ff6607e3502ad34e55">insert</a> (size_t nPos, const <a class="el" href="classwx_string.html">wxString</a> &str, size_t nStart, size_t n)</td></tr>
<tr class="separator:a1788e00ec8fc04ff6607e3502ad34e55"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2886942e2160d8a9b64935fc5f98d9ef"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a2886942e2160d8a9b64935fc5f98d9ef">insert</a> (size_t nPos, const char *sz, size_t n)</td></tr>
<tr class="separator:a2886942e2160d8a9b64935fc5f98d9ef"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a73d5d7c823791fa2e9238ac6865ecd73"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a73d5d7c823791fa2e9238ac6865ecd73">insert</a> (size_t nPos, const wchar_t *sz, size_t n)</td></tr>
<tr class="separator:a73d5d7c823791fa2e9238ac6865ecd73"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8e85148798adb31e0da832243552aa46"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a8e85148798adb31e0da832243552aa46">insert</a> (size_t nPos, size_t n, <a class="el" href="classwx_uni_char.html">wxUniChar</a> ch)</td></tr>
<tr class="separator:a8e85148798adb31e0da832243552aa46"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3ed61e4671e7b2e44224edf20d574681"><td class="memItemLeft" align="right" valign="top">iterator </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a3ed61e4671e7b2e44224edf20d574681">insert</a> (iterator it, <a class="el" href="classwx_uni_char.html">wxUniChar</a> ch)</td></tr>
<tr class="separator:a3ed61e4671e7b2e44224edf20d574681"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8be75ab1d86b3944ad335663d78f4a52"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a8be75ab1d86b3944ad335663d78f4a52">insert</a> (iterator it, const_iterator first, const_iterator last)</td></tr>
<tr class="separator:a8be75ab1d86b3944ad335663d78f4a52"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afd91c9bc221c5311f3b6542bcacdbaa6"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#afd91c9bc221c5311f3b6542bcacdbaa6">insert</a> (iterator it, <a class="el" href="classwx_string.html#afc144b1e31fffd1a9fc6ba8a551cc073">size_type</a> n, <a class="el" href="classwx_uni_char.html">wxUniChar</a> ch)</td></tr>
<tr class="separator:afd91c9bc221c5311f3b6542bcacdbaa6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af63f200410b56436a830550905e20539"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#af63f200410b56436a830550905e20539">length</a> () const </td></tr>
<tr class="separator:af63f200410b56436a830550905e20539"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a13471470cbc1443525bedef99e179baa"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html#afc144b1e31fffd1a9fc6ba8a551cc073">size_type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a13471470cbc1443525bedef99e179baa">max_size</a> () const </td></tr>
<tr class="separator:a13471470cbc1443525bedef99e179baa"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3fa50b251ca98e1e5d2aa8d73c688b57"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a3fa50b251ca98e1e5d2aa8d73c688b57">reserve</a> (size_t sz)</td></tr>
<tr class="separator:a3fa50b251ca98e1e5d2aa8d73c688b57"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab79b33581860edeced7855c70af192d5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#ab79b33581860edeced7855c70af192d5">resize</a> (size_t nSize, <a class="el" href="classwx_uni_char.html">wxUniChar</a> ch= '\0')</td></tr>
<tr class="separator:ab79b33581860edeced7855c70af192d5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab8853ed8b4ff8cd1d5ade53b6b95b6e0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#ab8853ed8b4ff8cd1d5ade53b6b95b6e0">replace</a> (size_t nStart, size_t nLen, const <a class="el" href="classwx_string.html">wxString</a> &str)</td></tr>
<tr class="separator:ab8853ed8b4ff8cd1d5ade53b6b95b6e0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1e01ffd892b6d787c7df223182b0f811"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a1e01ffd892b6d787c7df223182b0f811">replace</a> (size_t nStart, size_t nLen, size_t nCount, <a class="el" href="classwx_uni_char.html">wxUniChar</a> ch)</td></tr>
<tr class="separator:a1e01ffd892b6d787c7df223182b0f811"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa490d9fb014750aab405175190b375f5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#aa490d9fb014750aab405175190b375f5">replace</a> (size_t nStart, size_t nLen, const <a class="el" href="classwx_string.html">wxString</a> &str, size_t nStart2, size_t nLen2)</td></tr>
<tr class="separator:aa490d9fb014750aab405175190b375f5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a608713cebdea7616d9a7b5be4f33b882"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a608713cebdea7616d9a7b5be4f33b882">replace</a> (size_t nStart, size_t nLen, const char *sz, size_t nCount)</td></tr>
<tr class="separator:a608713cebdea7616d9a7b5be4f33b882"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adef6c38981e5778b51b92f5f2a2e9937"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#adef6c38981e5778b51b92f5f2a2e9937">replace</a> (size_t nStart, size_t nLen, const wchar_t *sz, size_t nCount)</td></tr>
<tr class="separator:adef6c38981e5778b51b92f5f2a2e9937"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aced4f0ef33e61ea7dd21268b1d277bac"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#aced4f0ef33e61ea7dd21268b1d277bac">replace</a> (size_t nStart, size_t nLen, const <a class="el" href="classwx_string.html">wxString</a> &s, size_t nCount)</td></tr>
<tr class="separator:aced4f0ef33e61ea7dd21268b1d277bac"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acb8cd4c4aaae6166d7e09aa0c8c9d40d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#acb8cd4c4aaae6166d7e09aa0c8c9d40d">replace</a> (iterator first, iterator last, const <a class="el" href="classwx_string.html">wxString</a> &s)</td></tr>
<tr class="separator:acb8cd4c4aaae6166d7e09aa0c8c9d40d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7ac1fba1c84e465e458b36603d459263"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a7ac1fba1c84e465e458b36603d459263">replace</a> (iterator first, iterator last, const char *s, <a class="el" href="classwx_string.html#afc144b1e31fffd1a9fc6ba8a551cc073">size_type</a> n)</td></tr>
<tr class="separator:a7ac1fba1c84e465e458b36603d459263"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa06b632d3d44a884e332207274b9f4e9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#aa06b632d3d44a884e332207274b9f4e9">replace</a> (iterator first, iterator last, const wchar_t *s, <a class="el" href="classwx_string.html#afc144b1e31fffd1a9fc6ba8a551cc073">size_type</a> n)</td></tr>
<tr class="separator:aa06b632d3d44a884e332207274b9f4e9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4ecea34799d5d6c4c629dd924ae6c4bd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a4ecea34799d5d6c4c629dd924ae6c4bd">replace</a> (iterator first, iterator last, <a class="el" href="classwx_string.html#afc144b1e31fffd1a9fc6ba8a551cc073">size_type</a> n, <a class="el" href="classwx_uni_char.html">wxUniChar</a> ch)</td></tr>
<tr class="separator:a4ecea34799d5d6c4c629dd924ae6c4bd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab5313ebe5346126c9cae69e50ebe8e13"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#ab5313ebe5346126c9cae69e50ebe8e13">replace</a> (iterator first, iterator last, const_iterator first1, const_iterator last1)</td></tr>
<tr class="separator:ab5313ebe5346126c9cae69e50ebe8e13"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af33d49209742523ac7f76a89e4ff10f3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#af33d49209742523ac7f76a89e4ff10f3">replace</a> (iterator first, iterator last, const char *first1, const char *last1)</td></tr>
<tr class="separator:af33d49209742523ac7f76a89e4ff10f3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af0c522bb34383c669ceafb7325033629"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#af0c522bb34383c669ceafb7325033629">replace</a> (iterator first, iterator last, const wchar_t *first1, const wchar_t *last1)</td></tr>
<tr class="separator:af0c522bb34383c669ceafb7325033629"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a501cfba6e92fca9ead383c2bb5689aba"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a501cfba6e92fca9ead383c2bb5689aba">rfind</a> (const <a class="el" href="classwx_string.html">wxString</a> &str, size_t nStart=<a class="el" href="classwx_string.html#a7f7b5ab972b4be6703f9c779654af247">npos</a>) const </td></tr>
<tr class="separator:a501cfba6e92fca9ead383c2bb5689aba"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9bfca48de47194ec5478efd3305ff535"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a9bfca48de47194ec5478efd3305ff535">rfind</a> (const char *sz, size_t nStart=<a class="el" href="classwx_string.html#a7f7b5ab972b4be6703f9c779654af247">npos</a>, size_t n=<a class="el" href="classwx_string.html#a7f7b5ab972b4be6703f9c779654af247">npos</a>) const </td></tr>
<tr class="separator:a9bfca48de47194ec5478efd3305ff535"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa597e9d949828d4d9107b96e0eb34a26"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#aa597e9d949828d4d9107b96e0eb34a26">rfind</a> (const wchar_t *sz, size_t nStart=<a class="el" href="classwx_string.html#a7f7b5ab972b4be6703f9c779654af247">npos</a>, size_t n=<a class="el" href="classwx_string.html#a7f7b5ab972b4be6703f9c779654af247">npos</a>) const </td></tr>
<tr class="separator:aa597e9d949828d4d9107b96e0eb34a26"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a97975ce42c92058fe3f492dd079ecf3c"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a97975ce42c92058fe3f492dd079ecf3c">rfind</a> (<a class="el" href="classwx_uni_char.html">wxUniChar</a> ch, size_t nStart=<a class="el" href="classwx_string.html#a7f7b5ab972b4be6703f9c779654af247">npos</a>) const </td></tr>
<tr class="separator:a97975ce42c92058fe3f492dd079ecf3c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aba423303c6e0580605269827e4744761"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html#afc144b1e31fffd1a9fc6ba8a551cc073">size_type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#aba423303c6e0580605269827e4744761">size</a> () const </td></tr>
<tr class="separator:aba423303c6e0580605269827e4744761"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af7832aeeec723684a92e2beafbd45af1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#af7832aeeec723684a92e2beafbd45af1">substr</a> (size_t nStart=0, size_t nLen=<a class="el" href="classwx_string.html#a7f7b5ab972b4be6703f9c779654af247">npos</a>) const </td></tr>
<tr class="separator:af7832aeeec723684a92e2beafbd45af1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a11a06a7638bdfe254ff07f5e1fb073b0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a11a06a7638bdfe254ff07f5e1fb073b0">swap</a> (<a class="el" href="classwx_string.html">wxString</a> &str)</td></tr>
<tr class="separator:a11a06a7638bdfe254ff07f5e1fb073b0"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:addd9ccfa3ae2b7ab2d66bcbf034d0be0"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#addd9ccfa3ae2b7ab2d66bcbf034d0be0">Format</a> (const <a class="el" href="classwx_string.html">wxString</a> &format,...)</td></tr>
<tr class="memdesc:addd9ccfa3ae2b7ab2d66bcbf034d0be0"><td class="mdescLeft"> </td><td class="mdescRight">This static function returns the string containing the result of calling <a class="el" href="classwx_string.html#a9588b7f2684b9a6a924dc3746a2b2f8d" title="Similar to the standard function sprintf().">Printf()</a> with the passed parameters on it. <a href="#addd9ccfa3ae2b7ab2d66bcbf034d0be0"></a><br/></td></tr>
<tr class="separator:addd9ccfa3ae2b7ab2d66bcbf034d0be0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa7bc330dcb0248bb8e886d27c4983ef5"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#aa7bc330dcb0248bb8e886d27c4983ef5">FormatV</a> (const <a class="el" href="classwx_string.html">wxString</a> &format, va_list argptr)</td></tr>
<tr class="memdesc:aa7bc330dcb0248bb8e886d27c4983ef5"><td class="mdescLeft"> </td><td class="mdescRight">This static function returns the string containing the result of calling <a class="el" href="classwx_string.html#a5670779cbafb35c454a6d7664b6a6064" title="Similar to vprintf.">PrintfV()</a> with the passed parameters on it. <a href="#aa7bc330dcb0248bb8e886d27c4983ef5"></a><br/></td></tr>
<tr class="separator:aa7bc330dcb0248bb8e886d27c4983ef5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a12be0249db64b0c53339cb79dcaa2add"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a12be0249db64b0c53339cb79dcaa2add">FromCDouble</a> (double val, int precision=-1)</td></tr>
<tr class="memdesc:a12be0249db64b0c53339cb79dcaa2add"><td class="mdescLeft"> </td><td class="mdescRight">Returns a string with the textual representation of the number in C locale. <a href="#a12be0249db64b0c53339cb79dcaa2add"></a><br/></td></tr>
<tr class="separator:a12be0249db64b0c53339cb79dcaa2add"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abe1f539ff2e9d46a80849fc758f51dc3"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#abe1f539ff2e9d46a80849fc758f51dc3">FromDouble</a> (double val, int precision=-1)</td></tr>
<tr class="memdesc:abe1f539ff2e9d46a80849fc758f51dc3"><td class="mdescLeft"> </td><td class="mdescRight">Returns a string with the textual representation of the number. <a href="#abe1f539ff2e9d46a80849fc758f51dc3"></a><br/></td></tr>
<tr class="separator:abe1f539ff2e9d46a80849fc758f51dc3"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr class="memitem:a5aedc23e9cc2774237d99148d0622661"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a5aedc23e9cc2774237d99148d0622661">From8BitData</a> (const char *buf, size_t len)</td></tr>
<tr class="memdesc:a5aedc23e9cc2774237d99148d0622661"><td class="mdescLeft"> </td><td class="mdescRight">Converts given buffer of binary data from 8-bit string to <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a>. <a href="#a5aedc23e9cc2774237d99148d0622661"></a><br/></td></tr>
<tr class="separator:a5aedc23e9cc2774237d99148d0622661"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aeb82fe2331039ceb32838c814ae36d89"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#aeb82fe2331039ceb32838c814ae36d89">From8BitData</a> (const char *buf)</td></tr>
<tr class="memdesc:aeb82fe2331039ceb32838c814ae36d89"><td class="mdescLeft"> </td><td class="mdescRight">Converts given buffer of binary data from 8-bit string to <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a>. <a href="#aeb82fe2331039ceb32838c814ae36d89"></a><br/></td></tr>
<tr class="separator:aeb82fe2331039ceb32838c814ae36d89"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr class="memitem:a717327d279426293270c16b980d6d6aa"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a717327d279426293270c16b980d6d6aa">FromAscii</a> (const char *s)</td></tr>
<tr class="memdesc:a717327d279426293270c16b980d6d6aa"><td class="mdescLeft"> </td><td class="mdescRight">Converts the string or character from an ASCII, 7-bit form to the native <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> representation. <a href="#a717327d279426293270c16b980d6d6aa"></a><br/></td></tr>
<tr class="separator:a717327d279426293270c16b980d6d6aa"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a70c1974b9bfa75ecf4eee50341b65625"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a70c1974b9bfa75ecf4eee50341b65625">FromAscii</a> (const unsigned char *s)</td></tr>
<tr class="memdesc:a70c1974b9bfa75ecf4eee50341b65625"><td class="mdescLeft"> </td><td class="mdescRight">Converts the string or character from an ASCII, 7-bit form to the native <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> representation. <a href="#a70c1974b9bfa75ecf4eee50341b65625"></a><br/></td></tr>
<tr class="separator:a70c1974b9bfa75ecf4eee50341b65625"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a600c7b770a1fca1c4a48337d42854c99"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a600c7b770a1fca1c4a48337d42854c99">FromAscii</a> (const char *s, size_t len)</td></tr>
<tr class="memdesc:a600c7b770a1fca1c4a48337d42854c99"><td class="mdescLeft"> </td><td class="mdescRight">Converts the string or character from an ASCII, 7-bit form to the native <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> representation. <a href="#a600c7b770a1fca1c4a48337d42854c99"></a><br/></td></tr>
<tr class="separator:a600c7b770a1fca1c4a48337d42854c99"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aad58ba080272e8540ff39a8b023ad841"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#aad58ba080272e8540ff39a8b023ad841">FromAscii</a> (const unsigned char *s, size_t len)</td></tr>
<tr class="memdesc:aad58ba080272e8540ff39a8b023ad841"><td class="mdescLeft"> </td><td class="mdescRight">Converts the string or character from an ASCII, 7-bit form to the native <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> representation. <a href="#aad58ba080272e8540ff39a8b023ad841"></a><br/></td></tr>
<tr class="separator:aad58ba080272e8540ff39a8b023ad841"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae101c2c62370da0014d36c8987fc6586"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#ae101c2c62370da0014d36c8987fc6586">FromAscii</a> (char c)</td></tr>
<tr class="memdesc:ae101c2c62370da0014d36c8987fc6586"><td class="mdescLeft"> </td><td class="mdescRight">Converts the string or character from an ASCII, 7-bit form to the native <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> representation. <a href="#ae101c2c62370da0014d36c8987fc6586"></a><br/></td></tr>
<tr class="separator:ae101c2c62370da0014d36c8987fc6586"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr class="memitem:a2ddc1b7c8e1eb9adbf5874dead5b180b"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a2ddc1b7c8e1eb9adbf5874dead5b180b">FromUTF8</a> (const char *s)</td></tr>
<tr class="memdesc:a2ddc1b7c8e1eb9adbf5874dead5b180b"><td class="mdescLeft"> </td><td class="mdescRight">Converts C string encoded in UTF-8 to <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a>. <a href="#a2ddc1b7c8e1eb9adbf5874dead5b180b"></a><br/></td></tr>
<tr class="separator:a2ddc1b7c8e1eb9adbf5874dead5b180b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1a91d42a0166f38752265afd68881990"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a1a91d42a0166f38752265afd68881990">FromUTF8</a> (const char *s, size_t len)</td></tr>
<tr class="memdesc:a1a91d42a0166f38752265afd68881990"><td class="mdescLeft"> </td><td class="mdescRight">Converts C string encoded in UTF-8 to <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a>. <a href="#a1a91d42a0166f38752265afd68881990"></a><br/></td></tr>
<tr class="separator:a1a91d42a0166f38752265afd68881990"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr class="memitem:a629b194b84749fc86662c728975e6ba4"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a629b194b84749fc86662c728975e6ba4">FromUTF8Unchecked</a> (const char *s)</td></tr>
<tr class="memdesc:a629b194b84749fc86662c728975e6ba4"><td class="mdescLeft"> </td><td class="mdescRight">Converts C string encoded in UTF-8 to <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> without checking its validity. <a href="#a629b194b84749fc86662c728975e6ba4"></a><br/></td></tr>
<tr class="separator:a629b194b84749fc86662c728975e6ba4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a23583b46c05d6c953aaaace6410599f5"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a23583b46c05d6c953aaaace6410599f5">FromUTF8Unchecked</a> (const char *s, size_t len)</td></tr>
<tr class="memdesc:a23583b46c05d6c953aaaace6410599f5"><td class="mdescLeft"> </td><td class="mdescRight">Converts C string encoded in UTF-8 to <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> without checking its validity. <a href="#a23583b46c05d6c953aaaace6410599f5"></a><br/></td></tr>
<tr class="separator:a23583b46c05d6c953aaaace6410599f5"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:a7f7b5ab972b4be6703f9c779654af247"><td class="memItemLeft" align="right" valign="top">static const size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_string.html#a7f7b5ab972b4be6703f9c779654af247">npos</a></td></tr>
<tr class="memdesc:a7f7b5ab972b4be6703f9c779654af247"><td class="mdescLeft"> </td><td class="mdescRight">An 'invalid' value for string index. <a href="#a7f7b5ab972b4be6703f9c779654af247"></a><br/></td></tr>
<tr class="separator:a7f7b5ab972b4be6703f9c779654af247"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<h2 class="groupheader">Member Typedef Documentation</h2>
<a class="anchor" id="a6d7f9c6d210daec80bb59763e3016516"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="classwx_uni_char.html">wxUniChar</a> <a class="el" href="classwx_string.html#a6d7f9c6d210daec80bb59763e3016516">wxString::char_type</a></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a9c8b22db8c1446c53f1728c261d2d65b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef const <a class="el" href="group__group__funcmacro__string.html#gad42f64d8c82f1ce4ae58773a89b2d6a7">wxChar</a>* <a class="el" href="classwx_string.html#a9c8b22db8c1446c53f1728c261d2d65b">wxString::const_pointer</a></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="afd79e86aee78b7aab5e82483ab8d7a57"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="classwx_uni_char.html">wxUniChar</a> <a class="el" href="classwx_string.html#afd79e86aee78b7aab5e82483ab8d7a57">wxString::const_reference</a></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a6d1498f58142e40d885b1bda1ec25c83"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="group__group__funcmacro__string.html#gad42f64d8c82f1ce4ae58773a89b2d6a7">wxChar</a>* <a class="el" href="classwx_string.html#a6d1498f58142e40d885b1bda1ec25c83">wxString::pointer</a></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a1d03e8507f5f2044d9776255cb5dfb04"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="classwx_uni_char_ref.html">wxUniCharRef</a> <a class="el" href="classwx_string.html#a1d03e8507f5f2044d9776255cb5dfb04">wxString::reference</a></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="afc144b1e31fffd1a9fc6ba8a551cc073"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef size_t <a class="el" href="classwx_string.html#afc144b1e31fffd1a9fc6ba8a551cc073">wxString::size_type</a></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a6abd360d5072ed411f80eda16ed0bd99"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="classwx_uni_char.html">wxUniChar</a> <a class="el" href="classwx_string.html#a6abd360d5072ed411f80eda16ed0bd99">wxString::value_type</a></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a class="anchor" id="a55431c6ae13bf65166c5ebf499d3c135"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">wxString::wxString </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Default constructor. </p>
</div>
</div>
<a class="anchor" id="aa4133e804efc7d6a7615f1720697d2f0"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">wxString::wxString </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>stringSrc</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a string from another string. </p>
<p>Just increases the ref count by 1. </p>
</div>
</div>
<a class="anchor" id="a791f5885a0950a41ee76eddc2534a5f3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">wxString::wxString </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_uni_char.html">wxUniChar</a> </td>
<td class="paramname"><em>ch</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nRepeat</em> = <code>1</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Construct a string consisting of <em>nRepeat</em> copies of ch. </p>
</div>
</div>
<a class="anchor" id="a1d31831eeb309c5d673a97aa9f1568d3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">wxString::wxString </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_uni_char_ref.html">wxUniCharRef</a> </td>
<td class="paramname"><em>ch</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nRepeat</em> = <code>1</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Construct a string consisting of <em>nRepeat</em> copies of ch. </p>
</div>
</div>
<a class="anchor" id="a1afc83d848d12750b539e579624df9fa"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">wxString::wxString </td>
<td>(</td>
<td class="paramtype">char </td>
<td class="paramname"><em>ch</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nRepeat</em> = <code>1</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Construct a string consisting of <em>nRepeat</em> copies of ch converted to Unicode using the current locale encoding. </p>
</div>
</div>
<a class="anchor" id="ae92c9031a0143807f1d72fd2b75cfcb4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">wxString::wxString </td>
<td>(</td>
<td class="paramtype">wchar_t </td>
<td class="paramname"><em>ch</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nRepeat</em> = <code>1</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Construct a string consisting of <em>nRepeat</em> copies of ch. </p>
</div>
</div>
<a class="anchor" id="a0ec94790ea7b08344537f5cf893476f8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">wxString::wxString </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>psz</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructs a string from the string literal <em>psz</em> using the current locale encoding to convert it to Unicode (wxConvLibc). </p>
</div>
</div>
<a class="anchor" id="a96d8fedae47a282c685c6af0dfa3728c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">wxString::wxString </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>psz</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_m_b_conv.html">wxMBConv</a> & </td>
<td class="paramname"><em>conv</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructs a string from the string literal <em>psz</em> using <em>conv</em> to convert it Unicode. </p>
</div>
</div>
<a class="anchor" id="a18eac98263a8ecc3d565b9e6627a14b9"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">wxString::wxString </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>psz</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nLength</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructs a string from the first <em>nLength</em> character of the string literal <em>psz</em> using the current locale encoding to convert it to Unicode (wxConvLibc). </p>
</div>
</div>
<a class="anchor" id="a86a2ec232912c97ed44ba34651d98123"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">wxString::wxString </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>psz</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_m_b_conv.html">wxMBConv</a> & </td>
<td class="paramname"><em>conv</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nLength</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructs a string from the first <em>nLength</em> character of the string literal <em>psz</em> using <em>conv</em> to convert it Unicode. </p>
</div>
</div>
<a class="anchor" id="ae1fcf718262b69078417a15bde646668"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">wxString::wxString </td>
<td>(</td>
<td class="paramtype">const wchar_t * </td>
<td class="paramname"><em>pwz</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructs a string from the string literal <em>pwz</em>. </p>
</div>
</div>
<a class="anchor" id="a8b1f7dc26eb881f228fd7be26885dbe7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">wxString::wxString </td>
<td>(</td>
<td class="paramtype">const wchar_t * </td>
<td class="paramname"><em>pwz</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nLength</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructs a string from the first <em>nLength</em> characters of the string literal <em>pwz</em>. </p>
</div>
</div>
<a class="anchor" id="afb25e4a2670786aa360792fe40eb6d31"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">wxString::wxString </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_char_buffer.html">wxCharBuffer</a> & </td>
<td class="paramname"><em>buf</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructs a string from <em>buf</em> using the using the current locale encoding to convert it to Unicode. </p>
</div>
</div>
<a class="anchor" id="a6fdc82f6b7412bc8617a9194580024ae"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">wxString::wxString </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_w_char_buffer.html">wxWCharBuffer</a> & </td>
<td class="paramname"><em>buf</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructs a string from <em>buf</em>. </p>
</div>
</div>
<a class="anchor" id="adbc5f0b4efc63b775da5e9571841928a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">wxString::wxString </td>
<td>(</td>
<td class="paramtype">const std::string & </td>
<td class="paramname"><em>str</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructs a string from <em>str</em> using the using the current locale encoding to convert it to Unicode (wxConvLibc). </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_string.html#a3c764622c960389c4d8c9e21e13bddc7" title="Return the string as an std::string in current locale encoding.">ToStdString()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="adf6220517c6b2e2305c9af3c5e932afb"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">wxString::wxString </td>
<td>(</td>
<td class="paramtype">const std::wstring & </td>
<td class="paramname"><em>str</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructs a string from <em>str</em>. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_string.html#acd4ba44e34428aa83cd9922d2933d060" title="Return the string as an std::wstring.">ToStdWstring()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ad25109eb98a464712a6f28939e5adbdd"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">wxString::~wxString </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>String destructor. </p>
<p>Note that this is not virtual, so <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> must not be inherited from. </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a1605126b7bbf5f60a6fca7f393a58f1d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a> wxString::AfterFirst </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_uni_char.html">wxUniChar</a> </td>
<td class="paramname"><em>ch</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets all the characters after the first occurrence of <em>ch</em>. </p>
<p>Returns the empty string if <em>ch</em> is not found. </p>
</div>
</div>
<a class="anchor" id="a230d2887e27bd53592bea08bc053d912"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a> wxString::AfterLast </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_uni_char.html">wxUniChar</a> </td>
<td class="paramname"><em>ch</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets all the characters after the last occurrence of <em>ch</em>. </p>
<p>Returns the whole string if <em>ch</em> is not found. </p>
</div>
</div>
<a class="anchor" id="a87e614d9924a1b5524334aac3fc96d38"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxString::Alloc </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nLen</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Preallocate enough space for <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> to store <em>nLen</em> characters. </p>
<p>Please note that this method does the same thing as the standard <a class="el" href="classwx_string.html#a3fa50b251ca98e1e5d2aa8d73c688b57">reserve()</a> one and shouldn't be used in new code.</p>
<p>This function may be used to increase speed when the string is constructed by repeated concatenation as in</p>
<div class="fragment"><div class="line"><span class="comment">// delete all vowels from the string</span></div>
<div class="line"><a class="code" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> DeleteAllVowels(<span class="keyword">const</span> <a class="code" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a>& original)</div>
<div class="line">{</div>
<div class="line"> <a class="code" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> result;</div>
<div class="line"></div>
<div class="line"> <span class="keywordtype">size_t</span> len = original.<a class="code" href="classwx_string.html#af63f200410b56436a830550905e20539">length</a>();</div>
<div class="line"></div>
<div class="line"> result.<a class="code" href="classwx_string.html#a87e614d9924a1b5524334aac3fc96d38" title="Preallocate enough space for wxString to store nLen characters.">Alloc</a>(len);</div>
<div class="line"></div>
<div class="line"> <span class="keywordflow">for</span> ( <span class="keywordtype">size_t</span> n = 0; n < len; n++ )</div>
<div class="line"> {</div>
<div class="line"> <span class="keywordflow">if</span> ( strchr(<span class="stringliteral">"aeuio"</span>, tolower(original[n])) == NULL )</div>
<div class="line"> result += original[n];</div>
<div class="line"> }</div>
<div class="line"></div>
<div class="line"> <span class="keywordflow">return</span> result;</div>
<div class="line">}</div>
</div><!-- fragment --><p>because it will avoid the need to reallocate string memory many times (in case of long strings). Note that it does not set the maximal length of a string – it will still expand if more than <em>nLen</em> characters are stored in it. Also, it does not truncate the existing string (use <a class="el" href="classwx_string.html#a9b66809526638b11208bfe36cf895f36" title="Truncate the string to the given length.">Truncate()</a> for this) even if its current length is greater than <em>nLen</em>.</p>
<dl class="section return"><dt>Returns</dt><dd><span class="literal">true</span> if memory was successfully allocated, <span class="literal">false</span> otherwise. </dd></dl>
</div>
</div>
<a class="anchor" id="a2faf8f428d7fac92e11f00a017ab46b3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::Append </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>psz</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Appends the string literal <em>psz</em>. </p>
</div>
</div>
<a class="anchor" id="afa989ea2b0472869c3ac5b2594cbcf81"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::Append </td>
<td>(</td>
<td class="paramtype">const wchar_t * </td>
<td class="paramname"><em>pwz</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Appends the wide string literal <em>pwz</em>. </p>
</div>
</div>
<a class="anchor" id="a28d69617cbfac2f86f2255612a7d44af"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::Append </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>psz</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nLen</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Appends the string literal <em>psz</em> with max length <em>nLen</em>. </p>
</div>
</div>
<a class="anchor" id="a506350bcfa0c862afc0bb5d291559930"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::Append </td>
<td>(</td>
<td class="paramtype">const wchar_t * </td>
<td class="paramname"><em>pwz</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nLen</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Appends the wide string literal <em>psz</em> with max length <em>nLen</em>. </p>
</div>
</div>
<a class="anchor" id="a72bd9097575892317cd9521f149a16b5"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::Append </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>s</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Appends the string <em>s</em>. </p>
</div>
</div>
<a class="anchor" id="a6b91de64493beb67937a759572757b8b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::Append </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_uni_char.html">wxUniChar</a> </td>
<td class="paramname"><em>ch</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>count</em> = <code>1u</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Appends the character <em>ch</em> <em>count</em> times. </p>
</div>
</div>
<a class="anchor" id="aa07c1e103eea1da6bfd91a6aa33bfa15"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::append </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>str</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>pos</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>n</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="af06ef38f5158d1e04d4358416c323b3f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::append </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>str</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a9594c001adc6a018ef2cb1e326fb7f98"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::append </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>sz</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>n</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a612ebe397444e8097c79292f76d67499"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::append </td>
<td>(</td>
<td class="paramtype">const wchar_t * </td>
<td class="paramname"><em>sz</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>n</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ad1ac59548b8d480b644b01e6244a67c7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::append </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>n</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_uni_char.html">wxUniChar</a> </td>
<td class="paramname"><em>ch</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a5d4ce358f124e7e61e30763f7799633b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::append </td>
<td>(</td>
<td class="paramtype">const_iterator </td>
<td class="paramname"><em>first</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const_iterator </td>
<td class="paramname"><em>last</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="aa621f3bc053edf813635f448022d14df"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::assign </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>str</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>pos</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>n</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a4fb8d2be6be4727f07414184eabee32f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::assign </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>str</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a61f0dbe9615977014ad46f850c044796"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::assign </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>sz</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>n</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a3759362fd178dd5c833f20b8a4ba326f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::assign </td>
<td>(</td>
<td class="paramtype">const wchar_t * </td>
<td class="paramname"><em>sz</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>n</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a2002ee6b6e474a1466bfa495ae389662"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::assign </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>n</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_uni_char.html">wxUniChar</a> </td>
<td class="paramname"><em>ch</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a66914915ab17cc690d42009f478dcd93"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::assign </td>
<td>(</td>
<td class="paramtype">const_iterator </td>
<td class="paramname"><em>first</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const_iterator </td>
<td class="paramname"><em>last</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a875afc9681eb1cfe60c8a578c97a8f14"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_uni_char.html">wxUniChar</a> wxString::at </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>n</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="af2706738677db54403e91bfd824595f5"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_uni_char_ref.html">wxUniCharRef</a> wxString::at </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>n</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ac37f690daad1637493dc8ffc7c0efe70"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a> wxString::BeforeFirst </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_uni_char.html">wxUniChar</a> </td>
<td class="paramname"><em>ch</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_string.html">wxString</a> * </td>
<td class="paramname"><em>rest</em> = <code>NULL</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets all characters before the first occurrence of <em>ch</em>. </p>
<p>Returns the whole string if <em>ch</em> is not found.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ch</td><td>The character to look for. </td></tr>
<tr><td class="paramname">rest</td><td>Filled with the part of the string following the first occurrence of <em>ch</em> or cleared if it was not found. The same string is returned by <a class="el" href="classwx_string.html#a1605126b7bbf5f60a6fca7f393a58f1d" title="Gets all the characters after the first occurrence of ch.">AfterFirst()</a> but it is more efficient to use this output parameter if both the "before" and "after" parts are needed than calling both functions one after the other. This parameter is available in wxWidgets version 2.9.2 and later only. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Part of the string before the first occurrence of <em>ch</em>. </dd></dl>
</div>
</div>
<a class="anchor" id="a9b6f088a6ef2faadf922a521df0fae3a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a> wxString::BeforeLast </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_uni_char.html">wxUniChar</a> </td>
<td class="paramname"><em>ch</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_string.html">wxString</a> * </td>
<td class="paramname"><em>rest</em> = <code>NULL</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets all characters before the last occurrence of <em>ch</em>. </p>
<p>Returns the empty string if <em>ch</em> is not found.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ch</td><td>The character to look for. </td></tr>
<tr><td class="paramname">rest</td><td>Filled with the part of the string following the last occurrence of <em>ch</em> or the copy of this string if it was not found. The same string is returned by <a class="el" href="classwx_string.html#a230d2887e27bd53592bea08bc053d912" title="Gets all the characters after the last occurrence of ch.">AfterLast()</a> but it is more efficient to use this output parameter if both the "before" and "after" parts are needed than calling both functions one after the other. This parameter is available in wxWidgets version 2.9.2 and later only. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Part of the string before the last occurrence of <em>ch</em>. </dd></dl>
</div>
</div>
<a class="anchor" id="ad59ca2dd208720b3cce07d90bcb90093"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const_iterator wxString::begin </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ab2b671a75b59a8c6c1af4d6d647f9902"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">iterator wxString::begin </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a6418ec90c6d4ffe0b05702be1b35df4f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">wxCStrData wxString::c_str </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a lightweight intermediate class which is in turn implicitly convertible to both <code>const</code> <code>char*</code> and to <code>const</code> <code>wchar_t*</code>. </p>
<p>Given this ambiguity it is mostly better to use <a class="el" href="classwx_string.html#a6cd4782263a3ed4064eca915eb6e27e6" title="Converts the strings contents to the wide character representation and returns it as a temporary wxWC...">wc_str()</a>, <a class="el" href="classwx_string.html#adcfd12e6d0765b1d74bccc3d63d02e98" title="Returns the multibyte (C string) representation of the string using conv's wxMBConv::cWC2MB method an...">mb_str()</a> or <a class="el" href="classwx_string.html#ad71e3ded85939db8af9eeadfa02719ac" title="Converts the strings contents to UTF-8 and returns it either as a temporary wxCharBuffer object or as...">utf8_str()</a> instead.</p>
<p>Please see the <a class="el" href="overview_unicode.html">Unicode Support in wxWidgets</a> for more information about it.</p>
<p>Note that the returned value is not convertible to <code>char*</code> or <code>wchar_t*</code>, use <a class="el" href="classwx_string.html#aedcaea87fc347a940263a533bd56846f" title="Returns an object with string data that is implicitly convertible to char* pointer.">char_str()</a> or <a class="el" href="classwx_string.html#a3d9337b865b8962e172c2589409c6876" title="Returns an object with string data that is implicitly convertible to char* pointer.">wchar_str()</a> if you need to pass string value to a function expecting non-const pointer.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_string.html#a6cd4782263a3ed4064eca915eb6e27e6" title="Converts the strings contents to the wide character representation and returns it as a temporary wxWC...">wc_str()</a>, <a class="el" href="classwx_string.html#ad71e3ded85939db8af9eeadfa02719ac" title="Converts the strings contents to UTF-8 and returns it either as a temporary wxCharBuffer object or as...">utf8_str()</a>, <a class="el" href="classwx_string.html#a6418ec90c6d4ffe0b05702be1b35df4f" title="Returns a lightweight intermediate class which is in turn implicitly convertible to both const char* ...">c_str()</a>, <a class="el" href="classwx_string.html#adcfd12e6d0765b1d74bccc3d63d02e98" title="Returns the multibyte (C string) representation of the string using conv's wxMBConv::cWC2MB method an...">mb_str()</a>, <a class="el" href="classwx_string.html#abbd66d19de7187f2e04ad00b09f4614a" title="Returns a string representation suitable for passing to OS' functions for file handling.">fn_str()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a307ff6af69fbce1a22ded1b34ee134e2"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html#afc144b1e31fffd1a9fc6ba8a551cc073">size_type</a> wxString::capacity </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a88592121dde64b682cd67d30bfc9b45f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a> wxString::Capitalize </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Return the copy of the string with the first string character in the upper case and the subsequent ones in the lower case. </p>
<dl class="section since"><dt>Since</dt><dd>2.9.0</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_string.html#a7a8ec48b76dac441cd11db49f418d413" title="Converts the first characters of the string to the upper case and all the subsequent ones to the lowe...">MakeCapitalized()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="aedcaea87fc347a940263a533bd56846f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">wxWritableCharBuffer wxString::char_str </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_m_b_conv.html">wxMBConv</a> & </td>
<td class="paramname"><em>conv</em> = <code>wxConvLibc</code></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns an object with string data that is implicitly convertible to <code>char*</code> pointer. </p>
<p>Note that any change to the returned buffer is lost and so this function is only usable for passing strings to legacy libraries that don't have const-correct API. Use <a class="el" href="classwx_string_buffer.html" title="This tiny class allows you to conveniently access the wxString internal buffer as a writable pointer ...">wxStringBuffer</a> if you want to modify the string.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_string.html#a6418ec90c6d4ffe0b05702be1b35df4f" title="Returns a lightweight intermediate class which is in turn implicitly convertible to both const char* ...">c_str()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a39f5e308eb0192cac2e338bedb377ee0"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxString::Clear </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Empties the string and frees memory occupied by it. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_string.html#a07b0dcc83872b23833a7335b2b931c42" title="Makes the string empty, but doesn't free memory occupied by the string.">Empty()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a4dcd0f3f0fe03ccddb85df2f3b18d665"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxString::clear </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="afe63f53ecaa197333c405ca985f733fe"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a> wxString::Clone </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a deep copy of the string. </p>
<p>That is, the returned string is guaranteed to not share data with this string when using reference-counted <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> implementation.</p>
<p>This method is primarily useful for passing strings between threads (because <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> is not thread-safe). Unlike creating a copy using <code><a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a></code>(<a class="el" href="classwx_string.html#a6418ec90c6d4ffe0b05702be1b35df4f" title="Returns a lightweight intermediate class which is in turn implicitly convertible to both const char* ...">c_str()</a>), <a class="el" href="classwx_string.html#afe63f53ecaa197333c405ca985f733fe" title="Returns a deep copy of the string.">Clone()</a> handles embedded NULs correctly.</p>
<dl class="section since"><dt>Since</dt><dd>2.9.0 </dd></dl>
</div>
</div>
<a class="anchor" id="a0352d6eeadcfad0b234e8c9481479a4a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int wxString::Cmp </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>s</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Case-sensitive comparison. </p>
<p>Returns a positive value if the string is greater than the argument, zero if it is equal to it or a negative value if it is less than the argument (same semantics as the standard <code>strcmp()</code> function).</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_string.html#a9c0eb52308e347031f9e479a9abc0a8f" title="Case-insensitive comparison.">CmpNoCase()</a>, <a class="el" href="classwx_string.html#a65f965b378fbfceed8f8688287f6e65e" title="Test whether the string is equal to another string s.">IsSameAs()</a>. </dd></dl>
</div>
</div>
<a class="anchor" id="a9c0eb52308e347031f9e479a9abc0a8f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int wxString::CmpNoCase </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>s</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Case-insensitive comparison. </p>
<p>Returns a positive value if the string is greater than the argument, zero if it is equal to it or a negative value if it is less than the argument (same semantics as the standard <code>strcmp()</code> function).</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_string.html#a0352d6eeadcfad0b234e8c9481479a4a" title="Case-sensitive comparison.">Cmp()</a>, <a class="el" href="classwx_string.html#a65f965b378fbfceed8f8688287f6e65e" title="Test whether the string is equal to another string s.">IsSameAs()</a>. </dd></dl>
</div>
</div>
<a class="anchor" id="addee33a9b9e21e4803bccdda8e362548"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int wxString::compare </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>str</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="af99ab8db21458830fd68a9202a196a88"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int wxString::compare </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nLen</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>str</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a7a4c43b3d8ce95a86cb134091a382098"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int wxString::compare </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nLen</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>str</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nLen2</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a70a0299d62d4a6207d1b89db82337cd0"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int wxString::compare </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nLen</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>sz</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nCount</em> = <code><a class="el" href="classwx_string.html#a7f7b5ab972b4be6703f9c779654af247">npos</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a8aa121108c7f05fce3d36477b55f3e7c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int wxString::compare </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nLen</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const wchar_t * </td>
<td class="paramname"><em>sz</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nCount</em> = <code><a class="el" href="classwx_string.html#a7f7b5ab972b4be6703f9c779654af247">npos</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a05fb8f3d4827186ff18a6bac99d7133a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxString::Contains </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>str</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns <span class="literal">true</span> if target appears anywhere in <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a>; else <span class="literal">false</span>. </p>
<p>This is a wxWidgets 1.xx compatibility function; you should not use it in new code. </p>
</div>
</div>
<a class="anchor" id="a1ce523326d36035117eaf41019f3eefe"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">wxCStrData wxString::data </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a07b0dcc83872b23833a7335b2b931c42"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxString::Empty </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Makes the string empty, but doesn't free memory occupied by the string. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_string.html#a39f5e308eb0192cac2e338bedb377ee0" title="Empties the string and frees memory occupied by it.">Clear()</a>. </dd></dl>
</div>
</div>
<a class="anchor" id="ac6ae24a8ccc6e4e671f972948fca437c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxString::empty </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a6a0f235fff88df5e6b16b5f0e1e719cc"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const_iterator wxString::end </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a14fb759ca1074e9fbab66f9579bd7b25"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">iterator wxString::end </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a5799047918ccbed5d3166ab9c03be279"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxString::EndsWith </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>suffix</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_string.html">wxString</a> * </td>
<td class="paramname"><em>rest</em> = <code>NULL</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>This function can be used to test if the string ends with the specified <em>suffix</em>. </p>
<p>If it does, the function will return <span class="literal">true</span> and put the beginning of the string before the suffix into <em>rest</em> string if it is not <span class="literal">NULL</span>. Otherwise, the function returns <span class="literal">false</span> and doesn't modify the <em>rest</em>. </p>
</div>
</div>
<a class="anchor" id="acb2c7985fb9550bb057b62bd6e5b4305"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::erase </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_string.html#afc144b1e31fffd1a9fc6ba8a551cc073">size_type</a> </td>
<td class="paramname"><em>pos</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_string.html#afc144b1e31fffd1a9fc6ba8a551cc073">size_type</a> </td>
<td class="paramname"><em>n</em> = <code><a class="el" href="classwx_string.html#a7f7b5ab972b4be6703f9c779654af247">npos</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a55b82ddfe4dae84a49ef9e175bdadd80"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">iterator wxString::erase </td>
<td>(</td>
<td class="paramtype">iterator </td>
<td class="paramname"><em>first</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">iterator </td>
<td class="paramname"><em>last</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ada23f52354ca0625e520b84adfc41ce4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">iterator wxString::erase </td>
<td>(</td>
<td class="paramtype">iterator </td>
<td class="paramname"><em>first</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="aed58dc1079da38d257bbc7d0d7800f44"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int wxString::Find </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_uni_char.html">wxUniChar</a> </td>
<td class="paramname"><em>ch</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>fromEnd</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Searches for the given character <em>ch</em>. </p>
<p>Returns the position or <code>wxNOT_FOUND</code> if not found. </p>
</div>
</div>
<a class="anchor" id="a2e6c84a2a60fd1ca4f0465f11a6e5e41"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int wxString::Find </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>sub</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Searches for the given string <em>sub</em>. </p>
<p>Returns the starting position or <code>wxNOT_FOUND</code> if not found. </p>
</div>
</div>
<a class="anchor" id="a55b90a900c24e9555760265170dc051c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t wxString::find </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>str</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart</em> = <code>0</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="abae93815cb89f51dc9e3d39f31f7e5f0"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t wxString::find </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>sz</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>n</em> = <code><a class="el" href="classwx_string.html#a7f7b5ab972b4be6703f9c779654af247">npos</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a0647cf0e9f6a7e304c4d74c0c1c4ae3e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t wxString::find </td>
<td>(</td>
<td class="paramtype">const wchar_t * </td>
<td class="paramname"><em>sz</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>n</em> = <code><a class="el" href="classwx_string.html#a7f7b5ab972b4be6703f9c779654af247">npos</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ad7ba8dd973c3801b5213c00283139c89"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t wxString::find </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_uni_char.html">wxUniChar</a> </td>
<td class="paramname"><em>ch</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart</em> = <code>0</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="aa5c1c55cac296299be911f6d8d4724f2"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t wxString::find_first_not_of </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>str</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart</em> = <code>0</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a5d26643e87027a337820791d0fe6affb"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t wxString::find_first_not_of </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>sz</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart</em> = <code>0</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a26ceb1ff58d5e157c03e9497c0e45559"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t wxString::find_first_not_of </td>
<td>(</td>
<td class="paramtype">const wchar_t * </td>
<td class="paramname"><em>sz</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart</em> = <code>0</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a09d206a66d81cc9b4b6abd88b284e9b6"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t wxString::find_first_not_of </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>sz</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>n</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a9f54dcd53eec75c561969a3b6f587525"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t wxString::find_first_not_of </td>
<td>(</td>
<td class="paramtype">const wchar_t * </td>
<td class="paramname"><em>sz</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>n</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a814c6a48005f540df17259f299cb3eae"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t wxString::find_first_not_of </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_uni_char.html">wxUniChar</a> </td>
<td class="paramname"><em>ch</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart</em> = <code>0</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a778b7aa9baee20cc7d6c6a04798fdb3d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t wxString::find_first_of </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>sz</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart</em> = <code>0</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="aa3ab85ecd15c38fe21ac931c7bc8a3dd"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t wxString::find_first_of </td>
<td>(</td>
<td class="paramtype">const wchar_t * </td>
<td class="paramname"><em>sz</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart</em> = <code>0</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="acde44adf742b40be75b61f936df44134"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t wxString::find_first_of </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>sz</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>n</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a3c72aabe6f5c3a27c1aa2ee55746c0da"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t wxString::find_first_of </td>
<td>(</td>
<td class="paramtype">const wchar_t * </td>
<td class="paramname"><em>sz</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>n</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ad17ac2c5c165b4534033360a44c2172e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t wxString::find_first_of </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_uni_char.html">wxUniChar</a> </td>
<td class="paramname"><em>c</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart</em> = <code>0</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a012a6b2c01e64e5934782bad7880d3c4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t wxString::find_last_not_of </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>str</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart</em> = <code><a class="el" href="classwx_string.html#a7f7b5ab972b4be6703f9c779654af247">npos</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a29b2188b433f8752a7aec77e96def9ef"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t wxString::find_last_not_of </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>sz</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart</em> = <code><a class="el" href="classwx_string.html#a7f7b5ab972b4be6703f9c779654af247">npos</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a37d66f9b00971bfe1d6ab8047ecdae1a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t wxString::find_last_not_of </td>
<td>(</td>
<td class="paramtype">const wchar_t * </td>
<td class="paramname"><em>sz</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart</em> = <code><a class="el" href="classwx_string.html#a7f7b5ab972b4be6703f9c779654af247">npos</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="aef1ad6bd1d63fd2faaa648bd9e7ba421"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t wxString::find_last_not_of </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>sz</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>n</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a113341165cd0f9e0f2fd1c15c47e1a89"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t wxString::find_last_not_of </td>
<td>(</td>
<td class="paramtype">const wchar_t * </td>
<td class="paramname"><em>sz</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>n</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a50410c23c851cf0b4ffaad265532cd65"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t wxString::find_last_of </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>str</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart</em> = <code><a class="el" href="classwx_string.html#a7f7b5ab972b4be6703f9c779654af247">npos</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a1e68c5b448d44ecda22b0eefb3ad8ad1"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t wxString::find_last_of </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>sz</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart</em> = <code><a class="el" href="classwx_string.html#a7f7b5ab972b4be6703f9c779654af247">npos</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ab8056912b1be04a4a4f9519d5c4ae935"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t wxString::find_last_of </td>
<td>(</td>
<td class="paramtype">const wchar_t * </td>
<td class="paramname"><em>sz</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart</em> = <code><a class="el" href="classwx_string.html#a7f7b5ab972b4be6703f9c779654af247">npos</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a47acab8e0ae8925191588017866fd527"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t wxString::find_last_of </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>sz</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>n</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a666e095db7daa384753df47f94f4c03b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t wxString::find_last_of </td>
<td>(</td>
<td class="paramtype">const wchar_t * </td>
<td class="paramname"><em>sz</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>n</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ad54160d6b7fb0ec64af3f182b37642c4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t wxString::find_last_of </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_uni_char.html">wxUniChar</a> </td>
<td class="paramname"><em>c</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart</em> = <code><a class="el" href="classwx_string.html#a7f7b5ab972b4be6703f9c779654af247">npos</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a93e1e0634d46ce94d6491abdedc71c21"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int wxString::First </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_uni_char.html">wxUniChar</a> </td>
<td class="paramname"><em>ch</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Same as <a class="el" href="classwx_string.html#aed58dc1079da38d257bbc7d0d7800f44" title="Searches for the given character ch.">Find()</a>. </p>
<p>This is a wxWidgets 1.xx compatibility function; you should not use it in new code. </p>
</div>
</div>
<a class="anchor" id="a6de9a66add4360224a23bdb670181099"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int wxString::First </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>str</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Same as <a class="el" href="classwx_string.html#aed58dc1079da38d257bbc7d0d7800f44" title="Searches for the given character ch.">Find()</a>. </p>
<p>This is a wxWidgets 1.xx compatibility function; you should not use it in new code. </p>
</div>
</div>
<a class="anchor" id="abbd66d19de7187f2e04ad00b09f4614a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const wchar_t* wxString::fn_str </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a string representation suitable for passing to OS' functions for file handling. </p>
</div>
</div>
<a class="anchor" id="a7f0bc3f755db9d009c04c88bfad4af9e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char* wxString::fn_str </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>
</div>
</div>
<a class="anchor" id="a9b0c4e18fd523e43214279ab117162aa"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classwx_char_buffer.html">wxCharBuffer</a> wxString::fn_str </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>
</div>
</div>
<a class="anchor" id="addd9ccfa3ae2b7ab2d66bcbf034d0be0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classwx_string.html">wxString</a> wxString::Format </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>format</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"> </td>
<td class="paramname"><em>...</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This static function returns the string containing the result of calling <a class="el" href="classwx_string.html#a9588b7f2684b9a6a924dc3746a2b2f8d" title="Similar to the standard function sprintf().">Printf()</a> with the passed parameters on it. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_string.html#aa7bc330dcb0248bb8e886d27c4983ef5" title="This static function returns the string containing the result of calling PrintfV() with the passed pa...">FormatV()</a>, <a class="el" href="classwx_string.html#a9588b7f2684b9a6a924dc3746a2b2f8d" title="Similar to the standard function sprintf().">Printf()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="aa7bc330dcb0248bb8e886d27c4983ef5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classwx_string.html">wxString</a> wxString::FormatV </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>format</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">va_list </td>
<td class="paramname"><em>argptr</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This static function returns the string containing the result of calling <a class="el" href="classwx_string.html#a5670779cbafb35c454a6d7664b6a6064" title="Similar to vprintf.">PrintfV()</a> with the passed parameters on it. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_string.html#addd9ccfa3ae2b7ab2d66bcbf034d0be0" title="This static function returns the string containing the result of calling Printf() with the passed par...">Format()</a>, <a class="el" href="classwx_string.html#a5670779cbafb35c454a6d7664b6a6064" title="Similar to vprintf.">PrintfV()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a90e66e8c77af2526a407eb82a1565df6"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int wxString::Freq </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_uni_char.html">wxUniChar</a> </td>
<td class="paramname"><em>ch</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the number of occurrences of <em>ch</em> in the string. </p>
<p>This is a wxWidgets 1.xx compatibility function; you should not use it in new code. </p>
</div>
</div>
<a class="anchor" id="a5aedc23e9cc2774237d99148d0622661"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classwx_string.html">wxString</a> wxString::From8BitData </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>buf</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>len</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts given buffer of binary data from 8-bit string to <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a>. </p>
<p>In Unicode build, the string is interpreted as being in ISO-8859-1 encoding. The version without <em>len</em> parameter takes NUL-terminated data.</p>
<p>This is a convenience method useful when storing binary data in <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a>. It should be used <em>only</em> for that purpose and only in conjunction with <a class="el" href="classwx_string.html#afa91a632574bcbba1bf35b54f2c5562a" title="Converts the string to an 8-bit string in ISO-8859-1 encoding in the form of a wxCharBuffer (Unicode ...">To8BitData()</a>. Use <a class="el" href="classwx_string.html#adcfd12e6d0765b1d74bccc3d63d02e98" title="Returns the multibyte (C string) representation of the string using conv's wxMBConv::cWC2MB method an...">mb_str()</a> for conversion of character data to known encoding.</p>
<dl class="section since"><dt>Since</dt><dd>2.8.4</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_string.html#afa91a632574bcbba1bf35b54f2c5562a" title="Converts the string to an 8-bit string in ISO-8859-1 encoding in the form of a wxCharBuffer (Unicode ...">wxString::To8BitData()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="aeb82fe2331039ceb32838c814ae36d89"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classwx_string.html">wxString</a> wxString::From8BitData </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>buf</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts given buffer of binary data from 8-bit string to <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a>. </p>
<p>In Unicode build, the string is interpreted as being in ISO-8859-1 encoding. The version without <em>len</em> parameter takes NUL-terminated data.</p>
<p>This is a convenience method useful when storing binary data in <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a>. It should be used <em>only</em> for that purpose and only in conjunction with <a class="el" href="classwx_string.html#afa91a632574bcbba1bf35b54f2c5562a" title="Converts the string to an 8-bit string in ISO-8859-1 encoding in the form of a wxCharBuffer (Unicode ...">To8BitData()</a>. Use <a class="el" href="classwx_string.html#adcfd12e6d0765b1d74bccc3d63d02e98" title="Returns the multibyte (C string) representation of the string using conv's wxMBConv::cWC2MB method an...">mb_str()</a> for conversion of character data to known encoding.</p>
<dl class="section since"><dt>Since</dt><dd>2.8.4</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_string.html#afa91a632574bcbba1bf35b54f2c5562a" title="Converts the string to an 8-bit string in ISO-8859-1 encoding in the form of a wxCharBuffer (Unicode ...">wxString::To8BitData()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a717327d279426293270c16b980d6d6aa"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classwx_string.html">wxString</a> wxString::FromAscii </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>s</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts the string or character from an ASCII, 7-bit form to the native <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> representation. </p>
</div>
</div>
<a class="anchor" id="a70c1974b9bfa75ecf4eee50341b65625"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classwx_string.html">wxString</a> wxString::FromAscii </td>
<td>(</td>
<td class="paramtype">const unsigned char * </td>
<td class="paramname"><em>s</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts the string or character from an ASCII, 7-bit form to the native <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> representation. </p>
</div>
</div>
<a class="anchor" id="a600c7b770a1fca1c4a48337d42854c99"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classwx_string.html">wxString</a> wxString::FromAscii </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>s</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>len</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts the string or character from an ASCII, 7-bit form to the native <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> representation. </p>
</div>
</div>
<a class="anchor" id="aad58ba080272e8540ff39a8b023ad841"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classwx_string.html">wxString</a> wxString::FromAscii </td>
<td>(</td>
<td class="paramtype">const unsigned char * </td>
<td class="paramname"><em>s</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>len</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts the string or character from an ASCII, 7-bit form to the native <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> representation. </p>
</div>
</div>
<a class="anchor" id="ae101c2c62370da0014d36c8987fc6586"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classwx_string.html">wxString</a> wxString::FromAscii </td>
<td>(</td>
<td class="paramtype">char </td>
<td class="paramname"><em>c</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts the string or character from an ASCII, 7-bit form to the native <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> representation. </p>
</div>
</div>
<a class="anchor" id="a12be0249db64b0c53339cb79dcaa2add"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classwx_string.html">wxString</a> wxString::FromCDouble </td>
<td>(</td>
<td class="paramtype">double </td>
<td class="paramname"><em>val</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>precision</em> = <code>-1</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a string with the textual representation of the number in C locale. </p>
<p>Unlike <a class="el" href="classwx_string.html#abe1f539ff2e9d46a80849fc758f51dc3" title="Returns a string with the textual representation of the number.">FromDouble()</a> the string returned by this function always uses the period character as decimal separator, independently of the current locale. Otherwise its behaviour is identical to the other function.</p>
<dl class="section since"><dt>Since</dt><dd>2.9.1</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_string.html#a81ee01c0c1f9c2264506d674f1f2b733" title="Variant of ToDouble() always working in "C" locale.">ToCDouble()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="abe1f539ff2e9d46a80849fc758f51dc3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classwx_string.html">wxString</a> wxString::FromDouble </td>
<td>(</td>
<td class="paramtype">double </td>
<td class="paramname"><em>val</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>precision</em> = <code>-1</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a string with the textual representation of the number. </p>
<p>For the default value of <em>precision</em>, this function behaves as a simple wrapper for </p>
<div class="fragment"><div class="line"><a class="code" href="classwx_string.html#addd9ccfa3ae2b7ab2d66bcbf034d0be0" title="This static function returns the string containing the result of calling Printf() with the passed par...">wxString::Format</a>(<span class="stringliteral">"%g"</span>, val) </div>
</div><!-- fragment --><p>. If <em>precision</em> is positive (or zero), the <code>%</code>.Nf format is used with the given precision value.</p>
<p>Notice that the string returned by this function uses the decimal separator appropriate for the current locale, e.g. <code>","</code> and not a period in French locale. Use <a class="el" href="classwx_string.html#a12be0249db64b0c53339cb79dcaa2add" title="Returns a string with the textual representation of the number in C locale.">FromCDouble()</a> if this is unwanted.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">val</td><td>The value to format. </td></tr>
<tr><td class="paramname">precision</td><td>The number of fractional digits to use in or -1 to use the most appropriate format. This parameter is new in wxWidgets 2.9.2.</td></tr>
</table>
</dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>2.9.1</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_string.html#afca98ce954f669ec69696372e81d46ac" title="Attempts to convert the string to a floating point number.">ToDouble()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a2ddc1b7c8e1eb9adbf5874dead5b180b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classwx_string.html">wxString</a> wxString::FromUTF8 </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>s</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts C string encoded in UTF-8 to <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a>. </p>
<p>If <em>s</em> is not a valid UTF-8 string, an empty string is returned.</p>
<p>Notice that when using UTF-8 wxWidgets build there is a more efficient alternative to this function called <a class="el" href="classwx_string.html#a629b194b84749fc86662c728975e6ba4" title="Converts C string encoded in UTF-8 to wxString without checking its validity.">FromUTF8Unchecked()</a> which, unlike this one, doesn't check that the input string is valid.</p>
<dl class="section since"><dt>Since</dt><dd>2.8.4 </dd></dl>
</div>
</div>
<a class="anchor" id="a1a91d42a0166f38752265afd68881990"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classwx_string.html">wxString</a> wxString::FromUTF8 </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>s</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>len</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts C string encoded in UTF-8 to <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a>. </p>
<p>If <em>s</em> is not a valid UTF-8 string, an empty string is returned.</p>
<p>Notice that when using UTF-8 wxWidgets build there is a more efficient alternative to this function called <a class="el" href="classwx_string.html#a629b194b84749fc86662c728975e6ba4" title="Converts C string encoded in UTF-8 to wxString without checking its validity.">FromUTF8Unchecked()</a> which, unlike this one, doesn't check that the input string is valid.</p>
<dl class="section since"><dt>Since</dt><dd>2.8.4 </dd></dl>
</div>
</div>
<a class="anchor" id="a629b194b84749fc86662c728975e6ba4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classwx_string.html">wxString</a> wxString::FromUTF8Unchecked </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>s</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts C string encoded in UTF-8 to <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> without checking its validity. </p>
<p>This method assumes that <em>s</em> is a valid UTF-8 sequence and doesn't do any validation (although an assert failure is triggered in debug builds if the string is invalid). Only use it if you are absolutely sure that <em>s</em> is a correct UTF-8 string (e.g. because it comes from another library using UTF-8) and if the performance matters, otherwise use slower (in UTF-8 build) but safer <a class="el" href="classwx_string.html#a2ddc1b7c8e1eb9adbf5874dead5b180b" title="Converts C string encoded in UTF-8 to wxString.">FromUTF8()</a>. Passing a bad UTF-8 string to this function will result in creating a corrupted <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> and all the subsequent operations on it will be undefined.</p>
<dl class="section since"><dt>Since</dt><dd>2.8.9 </dd></dl>
</div>
</div>
<a class="anchor" id="a23583b46c05d6c953aaaace6410599f5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classwx_string.html">wxString</a> wxString::FromUTF8Unchecked </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>s</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>len</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts C string encoded in UTF-8 to <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> without checking its validity. </p>
<p>This method assumes that <em>s</em> is a valid UTF-8 sequence and doesn't do any validation (although an assert failure is triggered in debug builds if the string is invalid). Only use it if you are absolutely sure that <em>s</em> is a correct UTF-8 string (e.g. because it comes from another library using UTF-8) and if the performance matters, otherwise use slower (in UTF-8 build) but safer <a class="el" href="classwx_string.html#a2ddc1b7c8e1eb9adbf5874dead5b180b" title="Converts C string encoded in UTF-8 to wxString.">FromUTF8()</a>. Passing a bad UTF-8 string to this function will result in creating a corrupted <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> and all the subsequent operations on it will be undefined.</p>
<dl class="section since"><dt>Since</dt><dd>2.8.9 </dd></dl>
</div>
</div>
<a class="anchor" id="a0a760b0340bafebd03a803073e8050b7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_uni_char.html">wxUniChar</a> wxString::GetChar </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>n</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the character at position <em>n</em> (read-only). </p>
</div>
</div>
<a class="anchor" id="a9a774cc2c2f9b1a6daf5e8d1d555943e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const wxCStrData wxString::GetData </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>wxWidgets compatibility conversion. </p>
<p>Same as <a class="el" href="classwx_string.html#a6418ec90c6d4ffe0b05702be1b35df4f" title="Returns a lightweight intermediate class which is in turn implicitly convertible to both const char* ...">c_str()</a>. </p>
</div>
</div>
<a class="anchor" id="a8b30e786e96beed161b30cf6d6e1c7d5"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_uni_char_ref.html">wxUniCharRef</a> wxString::GetWritableChar </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>n</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a reference to the character at position <em>n</em>. </p>
</div>
</div>
<a class="anchor" id="a0c87e85cee09e65d314457379e5aba19"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__group__funcmacro__string.html#gaf558f1d34fbf3cf5e3258e42a40875fd">wxStringCharType</a>* wxString::GetWriteBuf </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>len</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a writable buffer of at least <em>len</em> bytes. </p>
<p>It returns a pointer to a new memory block, and the existing data will not be copied. Call <a class="el" href="classwx_string.html#a3783b441b540bac783a8e5a2cceaae7d" title="Puts the string back into a reasonable state (in which it can be used normally), after GetWriteBuf() ...">UngetWriteBuf()</a> as soon as possible to put the string back into a reasonable state.</p>
<p>This method is deprecated, please use <a class="el" href="classwx_string_buffer.html" title="This tiny class allows you to conveniently access the wxString internal buffer as a writable pointer ...">wxStringBuffer</a> or <a class="el" href="classwx_string_buffer_length.html" title="This tiny class allows you to conveniently access the wxString internal buffer as a writable pointer ...">wxStringBufferLength</a> instead. </p>
</div>
</div>
<a class="anchor" id="af81fb656038da7c98f62317f55db15a4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::insert </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nPos</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>str</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a1788e00ec8fc04ff6607e3502ad34e55"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::insert </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nPos</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>str</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>n</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a2886942e2160d8a9b64935fc5f98d9ef"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::insert </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nPos</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>sz</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>n</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a73d5d7c823791fa2e9238ac6865ecd73"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::insert </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nPos</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const wchar_t * </td>
<td class="paramname"><em>sz</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>n</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a8e85148798adb31e0da832243552aa46"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::insert </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nPos</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>n</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_uni_char.html">wxUniChar</a> </td>
<td class="paramname"><em>ch</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a3ed61e4671e7b2e44224edf20d574681"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">iterator wxString::insert </td>
<td>(</td>
<td class="paramtype">iterator </td>
<td class="paramname"><em>it</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_uni_char.html">wxUniChar</a> </td>
<td class="paramname"><em>ch</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a8be75ab1d86b3944ad335663d78f4a52"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxString::insert </td>
<td>(</td>
<td class="paramtype">iterator </td>
<td class="paramname"><em>it</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const_iterator </td>
<td class="paramname"><em>first</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const_iterator </td>
<td class="paramname"><em>last</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="afd91c9bc221c5311f3b6542bcacdbaa6"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxString::insert </td>
<td>(</td>
<td class="paramtype">iterator </td>
<td class="paramname"><em>it</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_string.html#afc144b1e31fffd1a9fc6ba8a551cc073">size_type</a> </td>
<td class="paramname"><em>n</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_uni_char.html">wxUniChar</a> </td>
<td class="paramname"><em>ch</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a932ddb6b4786213596c3e41b1fa1f7c5"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxString::IsAscii </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns <span class="literal">true</span> if the string contains only ASCII characters. </p>
<p>See <a class="el" href="classwx_uni_char.html#a584ce7cb729ceea70dde2bb25f8639cd" title="Returns true if the character is an ASCII character (i.e. if its value is less than 128)...">wxUniChar::IsAscii</a> for more details.</p>
<p>This is a wxWidgets 1.xx compatibility function; you should not use it in new code. </p>
</div>
</div>
<a class="anchor" id="ace32756bab999f8aae9be0cf981fc449"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxString::IsEmpty </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns <span class="literal">true</span> if the string is empty. </p>
</div>
</div>
<a class="anchor" id="ae0a2020695a6ecd9ee49c14fe7429176"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxString::IsNull </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns <span class="literal">true</span> if the string is empty (same as <a class="el" href="classwx_string.html#ace32756bab999f8aae9be0cf981fc449" title="Returns true if the string is empty.">wxString::IsEmpty</a>). </p>
<p>This is a wxWidgets 1.xx compatibility function; you should not use it in new code. </p>
</div>
</div>
<a class="anchor" id="a42fc468fb16b820b1b599fadfc6285cb"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxString::IsNumber </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns <span class="literal">true</span> if the string is an integer (with possible sign). </p>
<p>This is a wxWidgets 1.xx compatibility function; you should not use it in new code. </p>
</div>
</div>
<a class="anchor" id="a65f965b378fbfceed8f8688287f6e65e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxString::IsSameAs </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>s</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>caseSensitive</em> = <code>true</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Test whether the string is equal to another string <em>s</em>. </p>
<p>The test is case-sensitive if <em>caseSensitive</em> is <span class="literal">true</span> (default) or not if it is <span class="literal">false</span>.</p>
<dl class="section return"><dt>Returns</dt><dd><span class="literal">true</span> if the string is equal to the other one, <span class="literal">false</span> otherwise.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_string.html#a0352d6eeadcfad0b234e8c9481479a4a" title="Case-sensitive comparison.">Cmp()</a>, <a class="el" href="classwx_string.html#a9c0eb52308e347031f9e479a9abc0a8f" title="Case-insensitive comparison.">CmpNoCase()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a7e3a514459838e0c5c4b2b9b3703cc8a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxString::IsSameAs </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_uni_char.html">wxUniChar</a> </td>
<td class="paramname"><em>ch</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>caseSensitive</em> = <code>true</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Test whether the string is equal to the single character <em>ch</em>. </p>
<p>The test is case-sensitive if <em>caseSensitive</em> is <span class="literal">true</span> (default) or not if it is <span class="literal">false</span>.</p>
<dl class="section return"><dt>Returns</dt><dd><span class="literal">true</span> if the string is equal to this character, <span class="literal">false</span> otherwise.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_string.html#a0352d6eeadcfad0b234e8c9481479a4a" title="Case-sensitive comparison.">Cmp()</a>, <a class="el" href="classwx_string.html#a9c0eb52308e347031f9e479a9abc0a8f" title="Case-insensitive comparison.">CmpNoCase()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a1b27a667e2c97b561e8dbb917e491cf0"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxString::IsWord </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns <span class="literal">true</span> if the string is a word. </p>
<p>This is a wxWidgets 1.xx compatibility function; you should not use it in new code. </p>
</div>
</div>
<a class="anchor" id="a9cbac1fb780a7e227d38a85108829f8d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_uni_char.html">wxUniChar</a> wxString::Last </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the last character. </p>
<p>This is a wxWidgets 1.xx compatibility function; you should not use it in new code. </p>
</div>
</div>
<a class="anchor" id="a93aaa3f92c1c13d7af2a590387340988"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_uni_char_ref.html">wxUniCharRef</a> wxString::Last </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a reference to the last character (writable). </p>
<p>This is a wxWidgets 1.xx compatibility function; you should not use it in new code. </p>
</div>
</div>
<a class="anchor" id="aaadd66ce3aa4bcfc66459c95cad81550"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a> wxString::Left </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>count</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the first <em>count</em> characters of the string. </p>
</div>
</div>
<a class="anchor" id="ab20a87ca731a52c36ec674dae2213ad8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t wxString::Len </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the length of the string. </p>
</div>
</div>
<a class="anchor" id="a8895cca03120099236c002c0577b4d1c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t wxString::Length </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the length of the string (same as Len). </p>
<p>This is a wxWidgets 1.xx compatibility function; you should not use it in new code. </p>
</div>
</div>
<a class="anchor" id="af63f200410b56436a830550905e20539"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t wxString::length </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="aaacf7a99a2674bc3f462d54181c40f4f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a> wxString::Lower </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns this string converted to the lower case. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_string.html#a3b211c6f784d687ee9bb6033a4684071" title="Converts all characters to lower case and returns the reference to the modified string.">MakeLower()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a2eddc0d38ba0090d5f3af1d66c4c702e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxString::LowerCase </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Same as MakeLower. </p>
<p>This is a wxWidgets 1.xx compatibility function; you should not use it in new code. </p>
</div>
</div>
<a class="anchor" id="a7a8ec48b76dac441cd11db49f418d413"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::MakeCapitalized </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts the first characters of the string to the upper case and all the subsequent ones to the lower case and returns the result. </p>
<dl class="section since"><dt>Since</dt><dd>2.9.0</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_string.html#a88592121dde64b682cd67d30bfc9b45f" title="Return the copy of the string with the first string character in the upper case and the subsequent on...">Capitalize()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a3b211c6f784d687ee9bb6033a4684071"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::MakeLower </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts all characters to lower case and returns the reference to the modified string. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_string.html#aaacf7a99a2674bc3f462d54181c40f4f" title="Returns this string converted to the lower case.">Lower()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="af862e46d093e1e52fbc4f204e9aea34f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::MakeUpper </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts all characters to upper case and returns the reference to the modified string. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_string.html#ab84d4b6e9f38ba939d61f3382d2a009b" title="Returns this string converted to upper case.">Upper()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a0fef65e3bf7f77fa6858521f29a84e20"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxString::Matches </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>mask</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns <span class="literal">true</span> if the string contents matches a mask containing '*' and '?'. </p>
</div>
</div>
<a class="anchor" id="a13471470cbc1443525bedef99e179baa"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html#afc144b1e31fffd1a9fc6ba8a551cc073">size_type</a> wxString::max_size </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="adcfd12e6d0765b1d74bccc3d63d02e98"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classwx_char_buffer.html">wxCharBuffer</a> wxString::mb_str </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_m_b_conv.html">wxMBConv</a> & </td>
<td class="paramname"><em>conv</em> = <code>wxConvLibc</code></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the multibyte (C string) representation of the string using <em>conv's</em> <a class="el" href="classwx_m_b_conv.html#a496c808fc769800659e5de1a74115a54" title="Converts from Unicode to multibyte encoding by calling FromWChar() and allocating a temporary wxCharB...">wxMBConv::cWC2MB</a> method and returns <a class="el" href="classwx_char_buffer.html" title="This is a specialization of wxCharTypeBuffer<T> for char type.">wxCharBuffer</a>. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_string.html#a6cd4782263a3ed4064eca915eb6e27e6" title="Converts the strings contents to the wide character representation and returns it as a temporary wxWC...">wc_str()</a>, <a class="el" href="classwx_string.html#ad71e3ded85939db8af9eeadfa02719ac" title="Converts the strings contents to UTF-8 and returns it either as a temporary wxCharBuffer object or as...">utf8_str()</a>, <a class="el" href="classwx_string.html#a6418ec90c6d4ffe0b05702be1b35df4f" title="Returns a lightweight intermediate class which is in turn implicitly convertible to both const char* ...">c_str()</a>, <a class="el" href="classwx_m_b_conv.html" title="This class is the base class of a hierarchy of classes capable of converting text strings between mul...">wxMBConv</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a023d5f6b708eff5123f47498fcf151bc"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a> wxString::Mid </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>first</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nCount</em> = <code><a class="el" href="classwx_string.html#a7f7b5ab972b4be6703f9c779654af247">wxString::npos</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a substring starting at <em>first</em>, with length <em>count</em>, or the rest of the string if <em>count</em> is the default value. </p>
</div>
</div>
<a class="anchor" id="ad04423868c5aba6cddc0b5c77dfb42ec"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxString::operator! </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Empty string is <span class="literal">false</span>, so !string will only return <span class="literal">true</span> if the string is empty. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_string.html#ace32756bab999f8aae9be0cf981fc449" title="Returns true if the string is empty.">IsEmpty()</a>. </dd></dl>
</div>
</div>
<a class="anchor" id="a0bcf647b96d18fa8c6962085f4db93c2"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a> wxString::operator() </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>start</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>len</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Same as <a class="el" href="classwx_string.html#a023d5f6b708eff5123f47498fcf151bc" title="Returns a substring starting at first, with length count, or the rest of the string if count is the d...">Mid()</a> (substring extraction). </p>
</div>
</div>
<a class="anchor" id="a742b91e784f7baaef808b4ffb073ec53"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a> wxString::operator+ </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>y</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Concatenation: returns a new string equal to the concatenation of the operands. </p>
</div>
</div>
<a class="anchor" id="ac6b0d07b904597a70fea888c33f165cc"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a> wxString::operator+ </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_uni_char.html">wxUniChar</a> </td>
<td class="paramname"><em>y</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>
</div>
</div>
<a class="anchor" id="ab82d9888319f8639cb3310d18b7640a3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxString::operator+= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>str</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Concatenation in place: the argument is appended to the string. </p>
</div>
</div>
<a class="anchor" id="a26c983e1489887af0ec14bbacef962ed"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxString::operator+= </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_uni_char.html">wxUniChar</a> </td>
<td class="paramname"><em>c</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>
</div>
</div>
<a class="anchor" id="a8d96a72afdc434512dee502353730b6a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::operator<< </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>s</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Appends the string literal <em>psz</em>. </p>
</div>
</div>
<a class="anchor" id="a89dce4633434e7625479f82671dc75a3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::operator<< </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>psz</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Appends the string literal <em>psz</em>. </p>
</div>
</div>
<a class="anchor" id="a0066fea139757b878b2bfcaf1dbb69b9"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::operator<< </td>
<td>(</td>
<td class="paramtype">const wchar_t * </td>
<td class="paramname"><em>pwz</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Appends the string literal <em>psz</em>. </p>
</div>
</div>
<a class="anchor" id="af3f55fe4bccf98077e3e5458f9ba2569"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::operator<< </td>
<td>(</td>
<td class="paramtype">const wxCStrData & </td>
<td class="paramname"><em>psz</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Appends the string literal <em>psz</em>. </p>
</div>
</div>
<a class="anchor" id="a784f4d061907ad8da8ecd64b7e041b67"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::operator<< </td>
<td>(</td>
<td class="paramtype">char </td>
<td class="paramname"><em>ch</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Appends the string literal <em>psz</em>. </p>
</div>
</div>
<a class="anchor" id="aa9aec5c227079380c6c6adf4f3f466d9"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::operator<< </td>
<td>(</td>
<td class="paramtype">unsigned char </td>
<td class="paramname"><em>ch</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Appends the string literal <em>psz</em>. </p>
</div>
</div>
<a class="anchor" id="a539729c9846e45c1199f1385538b8d08"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::operator<< </td>
<td>(</td>
<td class="paramtype">wchar_t </td>
<td class="paramname"><em>ch</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Appends the string literal <em>psz</em>. </p>
</div>
</div>
<a class="anchor" id="a15680835024b546e209f9d5d3c34c898"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::operator<< </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_char_buffer.html">wxCharBuffer</a> & </td>
<td class="paramname"><em>s</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Appends the string literal <em>psz</em>. </p>
</div>
</div>
<a class="anchor" id="a5a321cb019b678b98f9843b2f8f67247"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::operator<< </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_w_char_buffer.html">wxWCharBuffer</a> & </td>
<td class="paramname"><em>s</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Appends the string literal <em>psz</em>. </p>
</div>
</div>
<a class="anchor" id="ad30c6312505e3ad2f2da2d3154708c95"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::operator<< </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_uni_char.html">wxUniChar</a> </td>
<td class="paramname"><em>ch</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Appends the string literal <em>psz</em>. </p>
</div>
</div>
<a class="anchor" id="ac9a674899a3bdec6a8f254228a87f7df"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::operator<< </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_uni_char_ref.html">wxUniCharRef</a> </td>
<td class="paramname"><em>ch</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Appends the string literal <em>psz</em>. </p>
</div>
</div>
<a class="anchor" id="a6e482dd5382ccc0f2170439127b565ce"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::operator<< </td>
<td>(</td>
<td class="paramtype">unsigned int </td>
<td class="paramname"><em>ui</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Appends the string literal <em>psz</em>. </p>
</div>
</div>
<a class="anchor" id="a1502d0bb5a86a5fc2466ce7b0672a725"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::operator<< </td>
<td>(</td>
<td class="paramtype">long </td>
<td class="paramname"><em>l</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Appends the string literal <em>psz</em>. </p>
</div>
</div>
<a class="anchor" id="a7c3a6bcf82d2a5b1b93a62025a33d8da"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::operator<< </td>
<td>(</td>
<td class="paramtype">unsigned long </td>
<td class="paramname"><em>ul</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Appends the string literal <em>psz</em>. </p>
</div>
</div>
<a class="anchor" id="a1f24d0faf4a1c911384da20b31af3cde"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::operator<< </td>
<td>(</td>
<td class="paramtype">wxLongLong_t </td>
<td class="paramname"><em>ll</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Appends the string literal <em>psz</em>. </p>
</div>
</div>
<a class="anchor" id="a6dad8a252757bed8815e97dd1a6b8fef"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::operator<< </td>
<td>(</td>
<td class="paramtype">wxULongLong_t </td>
<td class="paramname"><em>ul</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Appends the string literal <em>psz</em>. </p>
</div>
</div>
<a class="anchor" id="ac3f6ebf36fbbc843ef0dc28d862f2c51"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::operator<< </td>
<td>(</td>
<td class="paramtype">float </td>
<td class="paramname"><em>f</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Appends the string literal <em>psz</em>. </p>
</div>
</div>
<a class="anchor" id="ad4eb2747aea15e45454cc4092b676fb7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::operator<< </td>
<td>(</td>
<td class="paramtype">double </td>
<td class="paramname"><em>d</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Appends the string literal <em>psz</em>. </p>
</div>
</div>
<a class="anchor" id="a3ba262755ed0b1b1b4b547ff5092b285"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a> wxString::operator= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>str</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Assignment: see the relative <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> constructor. </p>
</div>
</div>
<a class="anchor" id="ae72a297b5ec14564a21569ff2cb540d5"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a> wxString::operator= </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_uni_char.html">wxUniChar</a> </td>
<td class="paramname"><em>c</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Assignment: see the relative <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> constructor. </p>
</div>
</div>
<a class="anchor" id="abdf1bada2f023c6ae8023a1e4b523aa9"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_uni_char.html">wxUniChar</a> wxString::operator[] </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>i</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the <em>i-th</em> character of the string. </p>
</div>
</div>
<a class="anchor" id="a015fbd8666790e967c9c581fa3601bac"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_uni_char_ref.html">wxUniCharRef</a> wxString::operator[] </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>i</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a writable reference to the <em>i-th</em> character of the string. </p>
</div>
</div>
<a class="anchor" id="a4edc1cfe89c876f84997ac315a39cf4e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::Pad </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>count</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_uni_char.html">wxUniChar</a> </td>
<td class="paramname"><em>chPad</em> = <code>' '</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>fromRight</em> = <code>true</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds <em>count</em> copies of <em>chPad</em> to the beginning, or to the end of the string (the default). </p>
<p>Removes spaces from the left or from the right (default). </p>
</div>
</div>
<a class="anchor" id="a09e5dc4368a806f922c24651033f45de"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::Prepend </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>str</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Prepends <em>str</em> to this string, returning a reference to this string. </p>
</div>
</div>
<a class="anchor" id="a9588b7f2684b9a6a924dc3746a2b2f8d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int wxString::Printf </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>pszFormat</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"> </td>
<td class="paramname"><em>...</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Similar to the standard function <em>sprintf()</em>. </p>
<p>Returns the number of characters written, or an integer less than zero on error. Note that if <code>wxUSE_PRINTF_POS_PARAMS</code> is set to 1, then this function supports Unix98-style positional parameters:</p>
<div class="fragment"><div class="line"><a class="code" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> str;</div>
<div class="line"></div>
<div class="line">str.<a class="code" href="classwx_string.html#a9588b7f2684b9a6a924dc3746a2b2f8d" title="Similar to the standard function sprintf().">Printf</a>(<a class="code" href="group__group__funcmacro__string.html#ga437ea6ba615b75dac8603e96ec864160" title="This macro can be used with character and string literals (in other words, 'x' or "foo") to automatic...">wxT</a>(<span class="stringliteral">"%d %d %d"</span>), 1, 2, 3);</div>
<div class="line"><span class="comment">// str now contains "1 2 3"</span></div>
<div class="line"></div>
<div class="line">str.<a class="code" href="classwx_string.html#a9588b7f2684b9a6a924dc3746a2b2f8d" title="Similar to the standard function sprintf().">Printf</a>(<a class="code" href="group__group__funcmacro__string.html#ga437ea6ba615b75dac8603e96ec864160" title="This macro can be used with character and string literals (in other words, 'x' or "foo") to automatic...">wxT</a>(<span class="stringliteral">"%2$d %3$d %1$d"</span>), 1, 2, 3);</div>
<div class="line"><span class="comment">// str now contains "2 3 1"</span></div>
</div><!-- fragment --><dl class="section note"><dt>Note</dt><dd>This function will use a safe version of <em>vsprintf()</em> (usually called <em>vsnprintf()</em>) whenever available to always allocate the buffer of correct size. Unfortunately, this function is not available on all platforms and the dangerous <em>vsprintf()</em> will be used then which may lead to buffer overflows. </dd></dl>
</div>
</div>
<a class="anchor" id="a5670779cbafb35c454a6d7664b6a6064"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int wxString::PrintfV </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>pszFormat</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">va_list </td>
<td class="paramname"><em>argPtr</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Similar to vprintf. </p>
<p>Returns the number of characters written, or an integer less than zero on error. </p>
</div>
</div>
<a class="anchor" id="a1136ebe0b44f7f66494c1061b450e0f8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const_reverse_iterator wxString::rbegin </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ae63061f3a0c0f91224e91daf988af434"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">reverse_iterator wxString::rbegin </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a9a83357210198cefd2d7d1411db1838d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::Remove </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>pos</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes all characters from the string starting at <em>pos</em>. </p>
<p>Use <a class="el" href="classwx_string.html#a9b66809526638b11208bfe36cf895f36" title="Truncate the string to the given length.">Truncate()</a> as a more readable alternative.</p>
<p>This is a wxWidgets 1.xx compatibility function; you should not use it in new code. </p>
</div>
</div>
<a class="anchor" id="a497880b0bba35d3693883eef14fbdf36"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::Remove </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>pos</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>len</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes <em>len</em> characters from the string, starting at <em>pos</em>. </p>
<p>This is a wxWidgets 1.xx compatibility function; you should not use it in new code. </p>
</div>
</div>
<a class="anchor" id="aa375e1718cb40fd991e89428e620ba82"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::RemoveLast </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>n</em> = <code>1</code></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes the last character. </p>
</div>
</div>
<a class="anchor" id="a4e2a503f15ce18a01492fce44dd21737"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const_reverse_iterator wxString::rend </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a114b4b3a040be56dfda6b5983d822cd9"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">reverse_iterator wxString::rend </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a5517e2b01e8da1a7a92400028f1a8344"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t wxString::Replace </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>strOld</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>strNew</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>replaceAll</em> = <code>true</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Replace first (or all) occurrences of substring with another one. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">strOld</td><td>The string to search for replacing. </td></tr>
<tr><td class="paramname">strNew</td><td>The substitution string. </td></tr>
<tr><td class="paramname">replaceAll</td><td>If <span class="literal">true</span> a global replace will be done (default), otherwise only the first occurrence will be replaced.</td></tr>
</table>
</dd>
</dl>
<p>Returns the number of replacements made. </p>
</div>
</div>
<a class="anchor" id="ab8853ed8b4ff8cd1d5ade53b6b95b6e0"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::replace </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nLen</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>str</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a1e01ffd892b6d787c7df223182b0f811"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::replace </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nLen</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nCount</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_uni_char.html">wxUniChar</a> </td>
<td class="paramname"><em>ch</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="aa490d9fb014750aab405175190b375f5"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::replace </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nLen</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>str</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nLen2</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a608713cebdea7616d9a7b5be4f33b882"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::replace </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nLen</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>sz</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nCount</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="adef6c38981e5778b51b92f5f2a2e9937"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::replace </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nLen</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const wchar_t * </td>
<td class="paramname"><em>sz</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nCount</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="aced4f0ef33e61ea7dd21268b1d277bac"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::replace </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nLen</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>s</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nCount</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="acb8cd4c4aaae6166d7e09aa0c8c9d40d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::replace </td>
<td>(</td>
<td class="paramtype">iterator </td>
<td class="paramname"><em>first</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">iterator </td>
<td class="paramname"><em>last</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>s</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a7ac1fba1c84e465e458b36603d459263"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::replace </td>
<td>(</td>
<td class="paramtype">iterator </td>
<td class="paramname"><em>first</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">iterator </td>
<td class="paramname"><em>last</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>s</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_string.html#afc144b1e31fffd1a9fc6ba8a551cc073">size_type</a> </td>
<td class="paramname"><em>n</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="aa06b632d3d44a884e332207274b9f4e9"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::replace </td>
<td>(</td>
<td class="paramtype">iterator </td>
<td class="paramname"><em>first</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">iterator </td>
<td class="paramname"><em>last</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const wchar_t * </td>
<td class="paramname"><em>s</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_string.html#afc144b1e31fffd1a9fc6ba8a551cc073">size_type</a> </td>
<td class="paramname"><em>n</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a4ecea34799d5d6c4c629dd924ae6c4bd"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::replace </td>
<td>(</td>
<td class="paramtype">iterator </td>
<td class="paramname"><em>first</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">iterator </td>
<td class="paramname"><em>last</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_string.html#afc144b1e31fffd1a9fc6ba8a551cc073">size_type</a> </td>
<td class="paramname"><em>n</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_uni_char.html">wxUniChar</a> </td>
<td class="paramname"><em>ch</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ab5313ebe5346126c9cae69e50ebe8e13"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::replace </td>
<td>(</td>
<td class="paramtype">iterator </td>
<td class="paramname"><em>first</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">iterator </td>
<td class="paramname"><em>last</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const_iterator </td>
<td class="paramname"><em>first1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const_iterator </td>
<td class="paramname"><em>last1</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="af33d49209742523ac7f76a89e4ff10f3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::replace </td>
<td>(</td>
<td class="paramtype">iterator </td>
<td class="paramname"><em>first</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">iterator </td>
<td class="paramname"><em>last</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>first1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>last1</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="af0c522bb34383c669ceafb7325033629"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::replace </td>
<td>(</td>
<td class="paramtype">iterator </td>
<td class="paramname"><em>first</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">iterator </td>
<td class="paramname"><em>last</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const wchar_t * </td>
<td class="paramname"><em>first1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const wchar_t * </td>
<td class="paramname"><em>last1</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a3fa50b251ca98e1e5d2aa8d73c688b57"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxString::reserve </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>sz</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ab79b33581860edeced7855c70af192d5"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxString::resize </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nSize</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_uni_char.html">wxUniChar</a> </td>
<td class="paramname"><em>ch</em> = <code>'\0'</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a501cfba6e92fca9ead383c2bb5689aba"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t wxString::rfind </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>str</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart</em> = <code><a class="el" href="classwx_string.html#a7f7b5ab972b4be6703f9c779654af247">npos</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a9bfca48de47194ec5478efd3305ff535"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t wxString::rfind </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>sz</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart</em> = <code><a class="el" href="classwx_string.html#a7f7b5ab972b4be6703f9c779654af247">npos</a></code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>n</em> = <code><a class="el" href="classwx_string.html#a7f7b5ab972b4be6703f9c779654af247">npos</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="aa597e9d949828d4d9107b96e0eb34a26"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t wxString::rfind </td>
<td>(</td>
<td class="paramtype">const wchar_t * </td>
<td class="paramname"><em>sz</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart</em> = <code><a class="el" href="classwx_string.html#a7f7b5ab972b4be6703f9c779654af247">npos</a></code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>n</em> = <code><a class="el" href="classwx_string.html#a7f7b5ab972b4be6703f9c779654af247">npos</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a97975ce42c92058fe3f492dd079ecf3c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t wxString::rfind </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_uni_char.html">wxUniChar</a> </td>
<td class="paramname"><em>ch</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart</em> = <code><a class="el" href="classwx_string.html#a7f7b5ab972b4be6703f9c779654af247">npos</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ad1fc08b5bac017acda7c1583c013f6a3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a> wxString::Right </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>count</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the last <em>count</em> characters. </p>
</div>
</div>
<a class="anchor" id="ad1a022058f58773d2feb072ae10a1408"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxString::SetChar </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>n</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_uni_char.html">wxUniChar</a> </td>
<td class="paramname"><em>ch</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the character at position <em>n</em>. </p>
</div>
</div>
<a class="anchor" id="ae81a1f0b72aa33325f922aa50579de59"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxString::Shrink </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Minimizes the string's memory. </p>
<p>This can be useful after a call to <a class="el" href="classwx_string.html#a87e614d9924a1b5524334aac3fc96d38" title="Preallocate enough space for wxString to store nLen characters.">Alloc()</a> if too much memory were preallocated. </p>
</div>
</div>
<a class="anchor" id="aba423303c6e0580605269827e4744761"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html#afc144b1e31fffd1a9fc6ba8a551cc073">size_type</a> wxString::size </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a627b084ee8088734e1b28ee23d67f7bb"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxString::StartsWith </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>prefix</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_string.html">wxString</a> * </td>
<td class="paramname"><em>rest</em> = <code>NULL</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>This function can be used to test if the string starts with the specified <em>prefix</em>. </p>
<p>If it does, the function will return <span class="literal">true</span> and put the rest of the string (i.e. after the prefix) into <em>rest</em> string if it is not <span class="literal">NULL</span>. Otherwise, the function returns <span class="literal">false</span> and doesn't modify the <em>rest</em>. </p>
</div>
</div>
<a class="anchor" id="a35746c99cc72c2d424c91f2ba0cd8606"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a> wxString::Strip </td>
<td>(</td>
<td class="paramtype">stripType </td>
<td class="paramname"><em>s</em> = <code>trailing</code></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Strip characters at the front and/or end. </p>
<p>This is the same as <a class="el" href="classwx_string.html#aefd36feb8f3c36edcf3322f84de0bfc4" title="Removes white-space (space, tabs, form feed, newline and carriage return) from the left or from the r...">Trim()</a> except that it doesn't change this string.</p>
<p>This is a wxWidgets 1.xx compatibility function; you should not use it in new code. </p>
</div>
</div>
<a class="anchor" id="af7832aeeec723684a92e2beafbd45af1"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a> wxString::substr </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nStart</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>nLen</em> = <code><a class="el" href="classwx_string.html#a7f7b5ab972b4be6703f9c779654af247">npos</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a74da2de05c10aa806a4b0264be1f906f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a> wxString::SubString </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>from</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>to</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the part of the string between the indices <em>from</em> and <em>to</em> inclusive. </p>
<p>This is a wxWidgets 1.xx compatibility function, use <a class="el" href="classwx_string.html#a023d5f6b708eff5123f47498fcf151bc" title="Returns a substring starting at first, with length count, or the rest of the string if count is the d...">Mid()</a> instead (but note that parameters have different meaning). </p>
</div>
</div>
<a class="anchor" id="a11a06a7638bdfe254ff07f5e1fb073b0"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxString::swap </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>str</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="aea75e9a0639470adcc2c8260156038e3"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename T > </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_char_type_buffer.html">wxCharTypeBuffer</a><T> wxString::tchar_str </td>
<td>(</td>
<td class="paramtype">size_t * </td>
<td class="paramname"><em>len</em> = <code>NULL</code></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns buffer of the specified type containing the string data. </p>
<p>This method is only useful in template code, otherwise you should directly call <a class="el" href="classwx_string.html#adcfd12e6d0765b1d74bccc3d63d02e98" title="Returns the multibyte (C string) representation of the string using conv's wxMBConv::cWC2MB method an...">mb_str()</a> or <a class="el" href="classwx_string.html#a6cd4782263a3ed4064eca915eb6e27e6" title="Converts the strings contents to the wide character representation and returns it as a temporary wxWC...">wc_str()</a> if you need to retrieve a narrow or wide string from this <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a>. The template parameter <em>t</em> should be either <code>char</code> or <code>wchar_t</code>.</p>
<p>Notice that retrieving a char buffer in UTF-8 build will return the internal string representation in UTF-8 while in wchar_t build the char buffer will contain the conversion of the string to the encoding of the current locale (and so can fail).</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">len</td><td>If non-<span class="literal">NULL</span>, filled with the length of the returned buffer.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>buffer containing the string contents in the specified type, notice that it may be <span class="literal">NULL</span> if the conversion failed (e.g. Unicode string couldn't be converted to the current encoding when <em>T</em> is <code>char</code>). </dd></dl>
</div>
</div>
<a class="anchor" id="afa91a632574bcbba1bf35b54f2c5562a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="buffer_8h.html#a76c552ab140910c2abd59a2a6a69a724">wxScopedCharBuffer</a> wxString::To8BitData </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts the string to an 8-bit string in ISO-8859-1 encoding in the form of a <a class="el" href="classwx_char_buffer.html" title="This is a specialization of wxCharTypeBuffer<T> for char type.">wxCharBuffer</a> (Unicode builds only). </p>
<p>This is a convenience method useful when storing binary data in <a class="el" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a>. It should be used <em>only</em> for this purpose. It is only valid to call this method on strings created using <a class="el" href="classwx_string.html#a5aedc23e9cc2774237d99148d0622661" title="Converts given buffer of binary data from 8-bit string to wxString.">From8BitData()</a>.</p>
<dl class="section since"><dt>Since</dt><dd>2.8.4</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_string.html#a5aedc23e9cc2774237d99148d0622661" title="Converts given buffer of binary data from 8-bit string to wxString.">wxString::From8BitData()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a2fec30dc8959d4fd3a56cd148bf1e57a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char* wxString::ToAscii </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts the string to an ASCII, 7-bit string in the form of a <a class="el" href="classwx_char_buffer.html" title="This is a specialization of wxCharTypeBuffer<T> for char type.">wxCharBuffer</a> (Unicode builds only) or a C string (ANSI builds). </p>
<p>Note that this conversion is only lossless if the string contains only ASCII characters as all the non-ASCII ones are replaced with the <code>'_'</code> (underscore) character.</p>
<p>Use <a class="el" href="classwx_string.html#adcfd12e6d0765b1d74bccc3d63d02e98" title="Returns the multibyte (C string) representation of the string using conv's wxMBConv::cWC2MB method an...">mb_str()</a> or <a class="el" href="classwx_string.html#ad71e3ded85939db8af9eeadfa02719ac" title="Converts the strings contents to UTF-8 and returns it either as a temporary wxCharBuffer object or as...">utf8_str()</a> to convert to other encodings. </p>
</div>
</div>
<a class="anchor" id="a9c39f3ca6c54a28347527c28e7c18f23"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classwx_char_buffer.html">wxCharBuffer</a> wxString::ToAscii </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>
</div>
</div>
<a class="anchor" id="a81ee01c0c1f9c2264506d674f1f2b733"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxString::ToCDouble </td>
<td>(</td>
<td class="paramtype">double * </td>
<td class="paramname"><em>val</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Variant of <a class="el" href="classwx_string.html#afca98ce954f669ec69696372e81d46ac" title="Attempts to convert the string to a floating point number.">ToDouble()</a> always working in "C" locale. </p>
<p>Works like <a class="el" href="classwx_string.html#afca98ce954f669ec69696372e81d46ac" title="Attempts to convert the string to a floating point number.">ToDouble()</a> but unlike it this function expects the floating point number to be formatted always with the rules dictated by the "C" locale (in particular, the decimal point must be a dot), independently from the current application-wide locale (see <a class="el" href="classwx_locale.html" title="wxLocale class encapsulates all language-dependent settings and is a generalization of the C locale c...">wxLocale</a>).</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_string.html#afca98ce954f669ec69696372e81d46ac" title="Attempts to convert the string to a floating point number.">ToDouble()</a>, <a class="el" href="classwx_string.html#abb54083175bbc1e1164616b4aa64fcd8" title="Attempts to convert the string to a signed integer in base base.">ToLong()</a>, <a class="el" href="classwx_string.html#a36a50d60b6d2ff7a08f112c8db8fc109" title="Attempts to convert the string to an unsigned integer in base base.">ToULong()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a2d7fb808fae67a4226ebeedf854a5a03"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxString::ToCLong </td>
<td>(</td>
<td class="paramtype">long * </td>
<td class="paramname"><em>val</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>base</em> = <code>10</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Variant of <a class="el" href="classwx_string.html#abb54083175bbc1e1164616b4aa64fcd8" title="Attempts to convert the string to a signed integer in base base.">ToLong()</a> always working in "C" locale. </p>
<p>Works like <a class="el" href="classwx_string.html#abb54083175bbc1e1164616b4aa64fcd8" title="Attempts to convert the string to a signed integer in base base.">ToLong()</a> but unlike it this function expects the integer number to be formatted always with the rules dictated by the "C" locale, independently from the current application-wide locale (see <a class="el" href="classwx_locale.html" title="wxLocale class encapsulates all language-dependent settings and is a generalization of the C locale c...">wxLocale</a>).</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_string.html#afca98ce954f669ec69696372e81d46ac" title="Attempts to convert the string to a floating point number.">ToDouble()</a>, <a class="el" href="classwx_string.html#abb54083175bbc1e1164616b4aa64fcd8" title="Attempts to convert the string to a signed integer in base base.">ToLong()</a>, <a class="el" href="classwx_string.html#a36a50d60b6d2ff7a08f112c8db8fc109" title="Attempts to convert the string to an unsigned integer in base base.">ToULong()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a545b481942916202dacaaee5e558d035"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxString::ToCULong </td>
<td>(</td>
<td class="paramtype">unsigned long * </td>
<td class="paramname"><em>val</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>base</em> = <code>10</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Variant of <a class="el" href="classwx_string.html#a36a50d60b6d2ff7a08f112c8db8fc109" title="Attempts to convert the string to an unsigned integer in base base.">ToULong()</a> always working in "C" locale. </p>
<p>Works like <a class="el" href="classwx_string.html#a36a50d60b6d2ff7a08f112c8db8fc109" title="Attempts to convert the string to an unsigned integer in base base.">ToULong()</a> but unlike it this function expects the integer number to be formatted always with the rules dictated by the "C" locale, independently from the current application-wide locale (see <a class="el" href="classwx_locale.html" title="wxLocale class encapsulates all language-dependent settings and is a generalization of the C locale c...">wxLocale</a>).</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_string.html#afca98ce954f669ec69696372e81d46ac" title="Attempts to convert the string to a floating point number.">ToDouble()</a>, <a class="el" href="classwx_string.html#abb54083175bbc1e1164616b4aa64fcd8" title="Attempts to convert the string to a signed integer in base base.">ToLong()</a>, <a class="el" href="classwx_string.html#a36a50d60b6d2ff7a08f112c8db8fc109" title="Attempts to convert the string to an unsigned integer in base base.">ToULong()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="afca98ce954f669ec69696372e81d46ac"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxString::ToDouble </td>
<td>(</td>
<td class="paramtype">double * </td>
<td class="paramname"><em>val</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Attempts to convert the string to a floating point number. </p>
<p>Returns <span class="literal">true</span> on success (the number is stored in the location pointed to by <em>val</em>) or <span class="literal">false</span> if the string does not represent such number (the value of <em>val</em> may still be modified in this case).</p>
<p>Note that unlike <a class="el" href="classwx_string.html#a81ee01c0c1f9c2264506d674f1f2b733" title="Variant of ToDouble() always working in "C" locale.">ToCDouble()</a> this function uses a localized version of <code><a class="el" href="group__group__funcmacro__crt.html#gaa904f5454b161f546bc27faa9d4e29b4">wxStrtod()</a></code> and thus needs as decimal point (and thousands separator) the locale-specific decimal point. Thus you should use this function only when you are sure that this string contains a floating point number formatted with the rules of the locale currently in use (see <a class="el" href="classwx_locale.html" title="wxLocale class encapsulates all language-dependent settings and is a generalization of the C locale c...">wxLocale</a>).</p>
<p>Also notice that even this function is locale-specific it does not support strings with thousands separators in them, even if the current locale uses digits grouping. You may use <a class="el" href="classwx_number_formatter.html#aad539451a9ac91198141eead3be4e743" title="Parse a string representation of a number possibly including thousands separators.">wxNumberFormatter::FromString()</a> to parse such strings.</p>
<p>Please refer to the documentation of the standard function <code>strtod()</code> for more details about the supported syntax.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_string.html#a81ee01c0c1f9c2264506d674f1f2b733" title="Variant of ToDouble() always working in "C" locale.">ToCDouble()</a>, <a class="el" href="classwx_string.html#abb54083175bbc1e1164616b4aa64fcd8" title="Attempts to convert the string to a signed integer in base base.">ToLong()</a>, <a class="el" href="classwx_string.html#a36a50d60b6d2ff7a08f112c8db8fc109" title="Attempts to convert the string to an unsigned integer in base base.">ToULong()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="abb54083175bbc1e1164616b4aa64fcd8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxString::ToLong </td>
<td>(</td>
<td class="paramtype">long * </td>
<td class="paramname"><em>val</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>base</em> = <code>10</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Attempts to convert the string to a signed integer in base <em>base</em>. </p>
<p>Returns <span class="literal">true</span> on success in which case the number is stored in the location pointed to by <em>val</em> or <span class="literal">false</span> if the string does not represent a valid number in the given base (the value of <em>val</em> may still be modified in this case).</p>
<p>The value of <em>base</em> must be comprised between 2 and 36, inclusive, or be a special value 0 which means that the usual rules of <code>C</code> numbers are applied: if the number starts with <code>0x</code> it is considered to be in base 16, if it starts with <code>0</code> - in base 8 and in base 10 otherwise. Note that you may not want to specify the base 0 if you are parsing the numbers which may have leading zeroes as they can yield unexpected (to the user not familiar with C) results.</p>
<p>Note that unlike <a class="el" href="classwx_string.html#a2d7fb808fae67a4226ebeedf854a5a03" title="Variant of ToLong() always working in "C" locale.">ToCLong()</a> this function uses a localized version of <code>wxStrtol()</code>. Thus you should use this function only when you are sure that this string contains an integer number formatted with the rules of the locale currently in use (see <a class="el" href="classwx_locale.html" title="wxLocale class encapsulates all language-dependent settings and is a generalization of the C locale c...">wxLocale</a>).</p>
<p>As with <a class="el" href="classwx_string.html#afca98ce954f669ec69696372e81d46ac" title="Attempts to convert the string to a floating point number.">ToDouble()</a>, this function does not support strings containing thousands separators even if the current locale uses digits grouping. You may use <a class="el" href="classwx_number_formatter.html#aad539451a9ac91198141eead3be4e743" title="Parse a string representation of a number possibly including thousands separators.">wxNumberFormatter::FromString()</a> to parse such strings.</p>
<p>Please refer to the documentation of the standard function <code>strtol()</code> for more details about the supported syntax.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_string.html#a81ee01c0c1f9c2264506d674f1f2b733" title="Variant of ToDouble() always working in "C" locale.">ToCDouble()</a>, <a class="el" href="classwx_string.html#afca98ce954f669ec69696372e81d46ac" title="Attempts to convert the string to a floating point number.">ToDouble()</a>, <a class="el" href="classwx_string.html#a36a50d60b6d2ff7a08f112c8db8fc109" title="Attempts to convert the string to an unsigned integer in base base.">ToULong()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a978e566d90ff4ed900fb353c7160c4d2"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxString::ToLongLong </td>
<td>(</td>
<td class="paramtype">wxLongLong_t * </td>
<td class="paramname"><em>val</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>base</em> = <code>10</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>This is exactly the same as <a class="el" href="classwx_string.html#abb54083175bbc1e1164616b4aa64fcd8" title="Attempts to convert the string to a signed integer in base base.">ToLong()</a> but works with 64 bit integer numbers. </p>
<p>Notice that currently it doesn't work (always returns <span class="literal">false</span>) if parsing of 64 bit numbers is not supported by the underlying C run-time library. Compilers with C99 support and Microsoft Visual C++ version 7 and higher do support this.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_string.html#abb54083175bbc1e1164616b4aa64fcd8" title="Attempts to convert the string to a signed integer in base base.">ToLong()</a>, <a class="el" href="classwx_string.html#ab9a3972bffb4edf0b5568b23f519de01" title="This is exactly the same as ToULong() but works with 64 bit integer numbers.">ToULongLong()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a3c764622c960389c4d8c9e21e13bddc7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string wxString::ToStdString </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Return the string as an std::string in current locale encoding. </p>
<p>Note that if the conversion of (Unicode) string contents to the current locale fails, the return string will be empty. Be sure to check for this to avoid silent data loss.</p>
<p>Instead of using this function it's also possible to write </p>
<div class="fragment"><div class="line">std::string s;</div>
<div class="line"><a class="code" href="classwx_string.html" title="String class for passing textual data to or receiving it from wxWidgets.">wxString</a> wxs;</div>
<div class="line">...</div>
<div class="line">s = std::string(wxs);</div>
</div><!-- fragment --><p> but using <a class="el" href="classwx_string.html#a3c764622c960389c4d8c9e21e13bddc7" title="Return the string as an std::string in current locale encoding.">ToStdString()</a> may make the code more clear.</p>
<dl class="section since"><dt>Since</dt><dd>2.9.1 </dd></dl>
</div>
</div>
<a class="anchor" id="acd4ba44e34428aa83cd9922d2933d060"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::wstring wxString::ToStdWstring </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Return the string as an std::wstring. </p>
<p>Unlike <a class="el" href="classwx_string.html#a3c764622c960389c4d8c9e21e13bddc7" title="Return the string as an std::string in current locale encoding.">ToStdString()</a>, there is no danger of data loss when using this function.</p>
<dl class="section since"><dt>Since</dt><dd>2.9.1 </dd></dl>
</div>
</div>
<a class="anchor" id="a36a50d60b6d2ff7a08f112c8db8fc109"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxString::ToULong </td>
<td>(</td>
<td class="paramtype">unsigned long * </td>
<td class="paramname"><em>val</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>base</em> = <code>10</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Attempts to convert the string to an unsigned integer in base <em>base</em>. </p>
<p>Returns <span class="literal">true</span> on success in which case the number is stored in the location pointed to by <em>val</em> or <span class="literal">false</span> if the string does not represent a valid number in the given base (the value of <em>val</em> may still be modified in this case).</p>
<p>Please notice that this function behaves in the same way as the standard <code>strtoul()</code> and so it simply converts negative numbers to unsigned representation instead of rejecting them (e.g. -1 is returned as <code>ULONG_MAX</code>).</p>
<p>See <a class="el" href="classwx_string.html#abb54083175bbc1e1164616b4aa64fcd8" title="Attempts to convert the string to a signed integer in base base.">ToLong()</a> for the more detailed description of the <em>base</em> parameter (and of the locale-specific behaviour of this function).</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_string.html#a545b481942916202dacaaee5e558d035" title="Variant of ToULong() always working in "C" locale.">ToCULong()</a>, <a class="el" href="classwx_string.html#afca98ce954f669ec69696372e81d46ac" title="Attempts to convert the string to a floating point number.">ToDouble()</a>, <a class="el" href="classwx_string.html#abb54083175bbc1e1164616b4aa64fcd8" title="Attempts to convert the string to a signed integer in base base.">ToLong()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ab9a3972bffb4edf0b5568b23f519de01"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxString::ToULongLong </td>
<td>(</td>
<td class="paramtype">wxULongLong_t * </td>
<td class="paramname"><em>val</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>base</em> = <code>10</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>This is exactly the same as <a class="el" href="classwx_string.html#a36a50d60b6d2ff7a08f112c8db8fc109" title="Attempts to convert the string to an unsigned integer in base base.">ToULong()</a> but works with 64 bit integer numbers. </p>
<p>Please see <a class="el" href="classwx_string.html#a978e566d90ff4ed900fb353c7160c4d2" title="This is exactly the same as ToLong() but works with 64 bit integer numbers.">ToLongLong()</a> for additional remarks. </p>
</div>
</div>
<a class="anchor" id="ac923e0bcfda57ec5064dcade9808db94"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="buffer_8h.html#a76c552ab140910c2abd59a2a6a69a724">wxScopedCharBuffer</a> wxString::ToUTF8 </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Same as <a class="el" href="classwx_string.html#ad71e3ded85939db8af9eeadfa02719ac" title="Converts the strings contents to UTF-8 and returns it either as a temporary wxCharBuffer object or as...">utf8_str()</a>. </p>
</div>
</div>
<a class="anchor" id="aefd36feb8f3c36edcf3322f84de0bfc4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::Trim </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>fromRight</em> = <code>true</code></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes white-space (space, tabs, form feed, newline and carriage return) from the left or from the right end of the string (right is default). </p>
</div>
</div>
<a class="anchor" id="a9b66809526638b11208bfe36cf895f36"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a>& wxString::Truncate </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>len</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Truncate the string to the given length. </p>
</div>
</div>
<a class="anchor" id="a3783b441b540bac783a8e5a2cceaae7d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxString::UngetWriteBuf </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Puts the string back into a reasonable state (in which it can be used normally), after <a class="el" href="classwx_string.html#a0c87e85cee09e65d314457379e5aba19" title="Returns a writable buffer of at least len bytes.">GetWriteBuf()</a> was called. </p>
<p>The version of the function without the <em>len</em> parameter will calculate the new string length itself assuming that the string is terminated by the first <code>NUL</code> character in it while the second one will use the specified length and thus is the only version which should be used with the strings with embedded <code>NULs</code> (it is also slightly more efficient as <code>strlen()</code> doesn't have to be called).</p>
<p>This method is deprecated, please use <a class="el" href="classwx_string_buffer.html" title="This tiny class allows you to conveniently access the wxString internal buffer as a writable pointer ...">wxStringBuffer</a> or <a class="el" href="classwx_string_buffer_length.html" title="This tiny class allows you to conveniently access the wxString internal buffer as a writable pointer ...">wxStringBufferLength</a> instead. </p>
</div>
</div>
<a class="anchor" id="aa4ff7bfb39cdac3a8322cd4932216eb0"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxString::UngetWriteBuf </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>len</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>
</div>
</div>
<a class="anchor" id="ab84d4b6e9f38ba939d61f3382d2a009b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a> wxString::Upper </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns this string converted to upper case. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_string.html#af862e46d093e1e52fbc4f204e9aea34f" title="Converts all characters to upper case and returns the reference to the modified string.">MakeUpper()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ab708a3eb6b01704bc0019f1cf0de5b4f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxString::UpperCase </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>The same as <a class="el" href="classwx_string.html#af862e46d093e1e52fbc4f204e9aea34f" title="Converts all characters to upper case and returns the reference to the modified string.">MakeUpper()</a>. </p>
<p>This is a wxWidgets 1.xx compatibility function; you should not use it in new code. </p>
</div>
</div>
<a class="anchor" id="ad71e3ded85939db8af9eeadfa02719ac"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="buffer_8h.html#a76c552ab140910c2abd59a2a6a69a724">wxScopedCharBuffer</a> wxString::utf8_str </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts the strings contents to UTF-8 and returns it either as a temporary <a class="el" href="classwx_char_buffer.html" title="This is a specialization of wxCharTypeBuffer<T> for char type.">wxCharBuffer</a> object or as a pointer to the internal string contents in UTF-8 build. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_string.html#a6cd4782263a3ed4064eca915eb6e27e6" title="Converts the strings contents to the wide character representation and returns it as a temporary wxWC...">wc_str()</a>, <a class="el" href="classwx_string.html#a6418ec90c6d4ffe0b05702be1b35df4f" title="Returns a lightweight intermediate class which is in turn implicitly convertible to both const char* ...">c_str()</a>, <a class="el" href="classwx_string.html#adcfd12e6d0765b1d74bccc3d63d02e98" title="Returns the multibyte (C string) representation of the string using conv's wxMBConv::cWC2MB method an...">mb_str()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a6cd4782263a3ed4064eca915eb6e27e6"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const wchar_t* wxString::wc_str </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts the strings contents to the wide character representation and returns it as a temporary <a class="el" href="classwx_w_char_buffer.html" title="This is a specialization of wxCharTypeBuffer<T> for wchar_t type.">wxWCharBuffer</a> object (Unix and OS X) or returns a pointer to the internal string contents in wide character mode (Windows). </p>
<p>The macro wxWX2WCbuf is defined as the correct return type (without const).</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_string.html#ad71e3ded85939db8af9eeadfa02719ac" title="Converts the strings contents to UTF-8 and returns it either as a temporary wxCharBuffer object or as...">utf8_str()</a>, <a class="el" href="classwx_string.html#a6418ec90c6d4ffe0b05702be1b35df4f" title="Returns a lightweight intermediate class which is in turn implicitly convertible to both const char* ...">c_str()</a>, <a class="el" href="classwx_string.html#adcfd12e6d0765b1d74bccc3d63d02e98" title="Returns the multibyte (C string) representation of the string using conv's wxMBConv::cWC2MB method an...">mb_str()</a>, <a class="el" href="classwx_string.html#abbd66d19de7187f2e04ad00b09f4614a" title="Returns a string representation suitable for passing to OS' functions for file handling.">fn_str()</a>, <a class="el" href="classwx_string.html#a3d9337b865b8962e172c2589409c6876" title="Returns an object with string data that is implicitly convertible to char* pointer.">wchar_str()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a26a7fea7b3cda801c40b95f18e2d1d86"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classwx_w_char_buffer.html">wxWCharBuffer</a> wxString::wc_str </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>
</div>
</div>
<a class="anchor" id="a3d9337b865b8962e172c2589409c6876"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">wxWritableWCharBuffer wxString::wchar_str </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns an object with string data that is implicitly convertible to <code>char*</code> pointer. </p>
<p>Note that changes to the returned buffer may or may not be lost (depending on the build) and so this function is only usable for passing strings to legacy libraries that don't have const-correct API. Use <a class="el" href="classwx_string_buffer.html" title="This tiny class allows you to conveniently access the wxString internal buffer as a writable pointer ...">wxStringBuffer</a> if you want to modify the string.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_string.html#adcfd12e6d0765b1d74bccc3d63d02e98" title="Returns the multibyte (C string) representation of the string using conv's wxMBConv::cWC2MB method an...">mb_str()</a>, <a class="el" href="classwx_string.html#a6cd4782263a3ed4064eca915eb6e27e6" title="Converts the strings contents to the wide character representation and returns it as a temporary wxWC...">wc_str()</a>, <a class="el" href="classwx_string.html#abbd66d19de7187f2e04ad00b09f4614a" title="Returns a string representation suitable for passing to OS' functions for file handling.">fn_str()</a>, <a class="el" href="classwx_string.html#a6418ec90c6d4ffe0b05702be1b35df4f" title="Returns a lightweight intermediate class which is in turn implicitly convertible to both const char* ...">c_str()</a>, <a class="el" href="classwx_string.html#aedcaea87fc347a940263a533bd56846f" title="Returns an object with string data that is implicitly convertible to char* pointer.">char_str()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a667b135c20008042653f82b739f6c3ab"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="group__group__funcmacro__string.html#gaf558f1d34fbf3cf5e3258e42a40875fd">wxStringCharType</a>* wxString::wx_str </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Explicit conversion to C string in the internal representation (either wchar_t* or UTF-8-encoded char*, depending on the build). </p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a7f7b5ab972b4be6703f9c779654af247"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const size_t wxString::npos</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>An 'invalid' value for string index. </p>
</div>
</div>
</div><!-- contents -->
<address class="footer">
<small>
Generated on Thu Nov 27 2014 13:46:59 for wxWidgets by <a href="http://www.doxygen.org/index.html" target="_new">Doxygen</a> 1.8.2
</small>
</address>
<script src="wxwidgets.js" type="text/javascript"></script>
</div><!-- #page_container -->
</body>
</html>
|