How to remove all characters from a string, except the integers?

Ali Çehreli acehreli at
Fri Mar 4 02:36:35 UTC 2022

On 3/3/22 13:03, H. S. Teoh wrote:

 > 	string s = "blahblah123blehbleh456bluhbluh";

 > 	assert(result == 123456);

I assumed it would generate separate integers 123 and 456. I started to 
implement a range with findSkip, findSplit, and friends but failed. :/


More information about the Digitalmars-d-learn mailing list