---------------------------------------------- String now is: Num of 'abc': 3 nocase: 5 nocase/overlap: 5 Spots of 'abc' nocase/overlap: 0 3 6 18 24 rSpots of 'abc' nocase/overlap: 24 18 6 3 0 replace -1th 'abc' with '[]': 'abcABCaBC456 HelloabcdHi[]' replace 0th 'abc' with '[]': '[]ABCaBC456 HelloabcdHiabc' replace 1th 'abc' with '[]': 'abc[]aBC456 HelloabcdHiabc' replace 2th 'abc' with '[]': 'abcABC[]456 HelloabcdHiabc' replace 3th 'abc' with '[]': 'abcABCaBC456 Hello[]dHiabc' replace 4th 'abc' with '[]': 'abcABCaBC456 HelloabcdHi[]' overlap replace -1th 'abc' with '[]': 'abcABCaBC456 HelloabcdHi[]' overlap replace 0th 'abc' with '[]': '[]ABCaBC456 HelloabcdHiabc' overlap replace 1th 'abc' with '[]': 'abc[]aBC456 HelloabcdHiabc' overlap replace 2th 'abc' with '[]': 'abcABC[]456 HelloabcdHiabc' overlap replace 3th 'abc' with '[]': 'abcABCaBC456 Hello[]dHiabc' overlap replace 4th 'abc' with '[]': 'abcABCaBC456 HelloabcdHi[]' replace all 'abc' with '[]': []ABCaBC456 Hello[]dHi[] nocase replace all 'abc' with '[]': [][][]456 Hello[]dHi[] nocase/overlap replace all 'abc' with '[]': [][][]456 Hello[]dHi[] Num of 'ABC': 1 nocase: 5 nocase/overlap: 5 Spots of 'ABC' nocase/overlap: 0 3 6 18 24 rSpots of 'ABC' nocase/overlap: 24 18 6 3 0 replace -1th 'ABC' with '[]': 'abcABCaBC456 HelloabcdHi[]' replace 0th 'ABC' with '[]': '[]ABCaBC456 HelloabcdHiabc' replace 1th 'ABC' with '[]': 'abc[]aBC456 HelloabcdHiabc' replace 2th 'ABC' with '[]': 'abcABC[]456 HelloabcdHiabc' replace 3th 'ABC' with '[]': 'abcABCaBC456 Hello[]dHiabc' replace 4th 'ABC' with '[]': 'abcABCaBC456 HelloabcdHi[]' overlap replace -1th 'ABC' with '[]': 'abcABCaBC456 HelloabcdHi[]' overlap replace 0th 'ABC' with '[]': '[]ABCaBC456 HelloabcdHiabc' overlap replace 1th 'ABC' with '[]': 'abc[]aBC456 HelloabcdHiabc' overlap replace 2th 'ABC' with '[]': 'abcABC[]456 HelloabcdHiabc' overlap replace 3th 'ABC' with '[]': 'abcABCaBC456 Hello[]dHiabc' overlap replace 4th 'ABC' with '[]': 'abcABCaBC456 HelloabcdHi[]' replace all 'ABC' with '[]': abc[]aBC456 HelloabcdHiabc nocase replace all 'ABC' with '[]': [][][]456 Hello[]dHi[] nocase/overlap replace all 'ABC' with '[]': [][][]456 Hello[]dHi[] Num of 'abcabc': 0 nocase: 1 nocase/overlap: 2 Spots of 'abcabc' nocase/overlap: 0 3 rSpots of 'abcabc' nocase/overlap: 3 0 replace -1th 'abcabc' with '[]': '[]aBC456 HelloabcdHiabc' replace 0th 'abcabc' with '[]': '[]aBC456 HelloabcdHiabc' replace 1th 'abcabc' with '[]': 'abcABCaBC456 HelloabcdHiabc' replace 2th 'abcabc' with '[]': 'abcABCaBC456 HelloabcdHiabc' replace 3th 'abcabc' with '[]': 'abcABCaBC456 HelloabcdHiabc' replace 4th 'abcabc' with '[]': 'abcABCaBC456 HelloabcdHiabc' overlap replace -1th 'abcabc' with '[]': 'abc[]456 HelloabcdHiabc' overlap replace 0th 'abcabc' with '[]': '[]aBC456 HelloabcdHiabc' overlap replace 1th 'abcabc' with '[]': 'abc[]456 HelloabcdHiabc' overlap replace 2th 'abcabc' with '[]': 'abcABCaBC456 HelloabcdHiabc' overlap replace 3th 'abcabc' with '[]': 'abcABCaBC456 HelloabcdHiabc' overlap replace 4th 'abcabc' with '[]': 'abcABCaBC456 HelloabcdHiabc' replace all 'abcabc' with '[]': abcABCaBC456 HelloabcdHiabc nocase replace all 'abcabc' with '[]': []aBC456 HelloabcdHiabc nocase/overlap replace all 'abcabc' with '[]': [][]456 HelloabcdHiabc Num of '(null pointer)': 0 nocase: 0 nocase/overlap: 0 Spots of '(null pointer)' nocase/overlap: rSpots of '(null pointer)' nocase/overlap: replace -1th '(null pointer)' with '[]': 'abcABCaBC456 HelloabcdHiabc' replace 0th '(null pointer)' with '[]': 'abcABCaBC456 HelloabcdHiabc' replace 1th '(null pointer)' with '[]': 'abcABCaBC456 HelloabcdHiabc' replace 2th '(null pointer)' with '[]': 'abcABCaBC456 HelloabcdHiabc' replace 3th '(null pointer)' with '[]': 'abcABCaBC456 HelloabcdHiabc' replace 4th '(null pointer)' with '[]': 'abcABCaBC456 HelloabcdHiabc' overlap replace -1th '(null pointer)' with '[]': 'abcABCaBC456 HelloabcdHiabc' overlap replace 0th '(null pointer)' with '[]': 'abcABCaBC456 HelloabcdHiabc' overlap replace 1th '(null pointer)' with '[]': 'abcABCaBC456 HelloabcdHiabc' overlap replace 2th '(null pointer)' with '[]': 'abcABCaBC456 HelloabcdHiabc' overlap replace 3th '(null pointer)' with '[]': 'abcABCaBC456 HelloabcdHiabc' overlap replace 4th '(null pointer)' with '[]': 'abcABCaBC456 HelloabcdHiabc' replace all '(null pointer)' with '[]': abcABCaBC456 HelloabcdHiabc nocase replace all '(null pointer)' with '[]': abcABCaBC456 HelloabcdHiabc nocase/overlap replace all '(null pointer)' with '[]': abcABCaBC456 HelloabcdHiabc Num of 'c45': 0 nocase: 1 nocase/overlap: 1 Spots of 'c45' nocase/overlap: 8 rSpots of 'c45' nocase/overlap: 8 replace -1th 'c45' with '[]': 'abcABCaB[]6 HelloabcdHiabc' replace 0th 'c45' with '[]': 'abcABCaB[]6 HelloabcdHiabc' replace 1th 'c45' with '[]': 'abcABCaBC456 HelloabcdHiabc' replace 2th 'c45' with '[]': 'abcABCaBC456 HelloabcdHiabc' replace 3th 'c45' with '[]': 'abcABCaBC456 HelloabcdHiabc' replace 4th 'c45' with '[]': 'abcABCaBC456 HelloabcdHiabc' overlap replace -1th 'c45' with '[]': 'abcABCaB[]6 HelloabcdHiabc' overlap replace 0th 'c45' with '[]': 'abcABCaB[]6 HelloabcdHiabc' overlap replace 1th 'c45' with '[]': 'abcABCaBC456 HelloabcdHiabc' overlap replace 2th 'c45' with '[]': 'abcABCaBC456 HelloabcdHiabc' overlap replace 3th 'c45' with '[]': 'abcABCaBC456 HelloabcdHiabc' overlap replace 4th 'c45' with '[]': 'abcABCaBC456 HelloabcdHiabc' replace all 'c45' with '[]': abcABCaBC456 HelloabcdHiabc nocase replace all 'c45' with '[]': abcABCaB[]6 HelloabcdHiabc nocase/overlap replace all 'c45' with '[]': abcABCaB[]6 HelloabcdHiabc ---------------------------------------------- String now is: Num of 'abc': 0 nocase: 0 nocase/overlap: 0 Spots of 'abc' nocase/overlap: rSpots of 'abc' nocase/overlap: replace -1th 'abc' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' replace 0th 'abc' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' replace 1th 'abc' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' replace 2th 'abc' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' replace 3th 'abc' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' replace 4th 'abc' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' overlap replace -1th 'abc' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' overlap replace 0th 'abc' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' overlap replace 1th 'abc' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' overlap replace 2th 'abc' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' overlap replace 3th 'abc' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' overlap replace 4th 'abc' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' replace all 'abc' with '[]': I love the 'whooshing' sound deadlines make as they go by - Douglas Adams nocase replace all 'abc' with '[]': I love the 'whooshing' sound deadlines make as they go by - Douglas Adams nocase/overlap replace all 'abc' with '[]': I love the 'whooshing' sound deadlines make as they go by - Douglas Adams Num of 'ABC': 0 nocase: 0 nocase/overlap: 0 Spots of 'ABC' nocase/overlap: rSpots of 'ABC' nocase/overlap: replace -1th 'ABC' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' replace 0th 'ABC' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' replace 1th 'ABC' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' replace 2th 'ABC' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' replace 3th 'ABC' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' replace 4th 'ABC' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' overlap replace -1th 'ABC' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' overlap replace 0th 'ABC' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' overlap replace 1th 'ABC' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' overlap replace 2th 'ABC' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' overlap replace 3th 'ABC' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' overlap replace 4th 'ABC' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' replace all 'ABC' with '[]': I love the 'whooshing' sound deadlines make as they go by - Douglas Adams nocase replace all 'ABC' with '[]': I love the 'whooshing' sound deadlines make as they go by - Douglas Adams nocase/overlap replace all 'ABC' with '[]': I love the 'whooshing' sound deadlines make as they go by - Douglas Adams Num of 'abcabc': 0 nocase: 0 nocase/overlap: 0 Spots of 'abcabc' nocase/overlap: rSpots of 'abcabc' nocase/overlap: replace -1th 'abcabc' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' replace 0th 'abcabc' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' replace 1th 'abcabc' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' replace 2th 'abcabc' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' replace 3th 'abcabc' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' replace 4th 'abcabc' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' overlap replace -1th 'abcabc' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' overlap replace 0th 'abcabc' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' overlap replace 1th 'abcabc' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' overlap replace 2th 'abcabc' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' overlap replace 3th 'abcabc' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' overlap replace 4th 'abcabc' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' replace all 'abcabc' with '[]': I love the 'whooshing' sound deadlines make as they go by - Douglas Adams nocase replace all 'abcabc' with '[]': I love the 'whooshing' sound deadlines make as they go by - Douglas Adams nocase/overlap replace all 'abcabc' with '[]': I love the 'whooshing' sound deadlines make as they go by - Douglas Adams Num of '(null pointer)': 0 nocase: 0 nocase/overlap: 0 Spots of '(null pointer)' nocase/overlap: rSpots of '(null pointer)' nocase/overlap: replace -1th '(null pointer)' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' replace 0th '(null pointer)' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' replace 1th '(null pointer)' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' replace 2th '(null pointer)' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' replace 3th '(null pointer)' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' replace 4th '(null pointer)' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' overlap replace -1th '(null pointer)' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' overlap replace 0th '(null pointer)' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' overlap replace 1th '(null pointer)' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' overlap replace 2th '(null pointer)' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' overlap replace 3th '(null pointer)' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' overlap replace 4th '(null pointer)' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' replace all '(null pointer)' with '[]': I love the 'whooshing' sound deadlines make as they go by - Douglas Adams nocase replace all '(null pointer)' with '[]': I love the 'whooshing' sound deadlines make as they go by - Douglas Adams nocase/overlap replace all '(null pointer)' with '[]': I love the 'whooshing' sound deadlines make as they go by - Douglas Adams Num of 'c45': 0 nocase: 0 nocase/overlap: 0 Spots of 'c45' nocase/overlap: rSpots of 'c45' nocase/overlap: replace -1th 'c45' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' replace 0th 'c45' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' replace 1th 'c45' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' replace 2th 'c45' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' replace 3th 'c45' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' replace 4th 'c45' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' overlap replace -1th 'c45' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' overlap replace 0th 'c45' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' overlap replace 1th 'c45' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' overlap replace 2th 'c45' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' overlap replace 3th 'c45' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' overlap replace 4th 'c45' with '[]': 'I love the 'whooshing' sound deadlines make as they go by - Douglas Adams' replace all 'c45' with '[]': I love the 'whooshing' sound deadlines make as they go by - Douglas Adams nocase replace all 'c45' with '[]': I love the 'whooshing' sound deadlines make as they go by - Douglas Adams nocase/overlap replace all 'c45' with '[]': I love the 'whooshing' sound deadlines make as they go by - Douglas Adams