Re: "if sting in string"

2015-09-18 Thread John Colvin via Digitalmars-d-learn
On Friday, 18 September 2015 at 09:42:05 UTC, smadus wrote: Ok i have rewrite :) Now: http://dpaste.dzfl.pl/cf8bb54b1390 The Problem is: http://www.directupload.net/file/d/4114/9zryku49_png.htm but i dont understand this, because, the exception should be "Something wrong" ?!? But, thanks

Re: "if sting in string"

2015-09-18 Thread John Colvin via Digitalmars-d-learn
On Friday, 18 September 2015 at 11:18:33 UTC, John Colvin wrote: On Friday, 18 September 2015 at 09:42:05 UTC, smadus wrote: Ok i have rewrite :) Now: http://dpaste.dzfl.pl/cf8bb54b1390 The Problem is: http://www.directupload.net/file/d/4114/9zryku49_png.htm but i dont understand this,

Re: "if sting in string"

2015-09-18 Thread yawniek via Digitalmars-d-learn
On Friday, 18 September 2015 at 09:42:05 UTC, smadus wrote: Ok i have rewrite :) Now: http://dpaste.dzfl.pl/cf8bb54b1390 The Problem is: http://www.directupload.net/file/d/4114/9zryku49_png.htm but i dont understand this, because, the exception should be "Something wrong" ?!? But, thanks

Re: "if sting in string"

2015-09-18 Thread John Colvin via Digitalmars-d-learn
On Friday, 18 September 2015 at 11:26:46 UTC, John Colvin wrote: On Friday, 18 September 2015 at 11:18:33 UTC, John Colvin wrote: On Friday, 18 September 2015 at 09:42:05 UTC, smadus wrote: Ok i have rewrite :) Now: http://dpaste.dzfl.pl/cf8bb54b1390 The Problem is:

Re: "if sting in string"

2015-09-18 Thread smadus via Digitalmars-d-learn
Ok i have rewrite :) Now: http://dpaste.dzfl.pl/cf8bb54b1390 The Problem is: http://www.directupload.net/file/d/4114/9zryku49_png.htm but i dont understand this, because, the exception should be "Something wrong" ?!? But, thanks for the answers, realy good and the code has been smaller.

Re: "if sting in string"

2015-09-16 Thread smadus via Digitalmars-d-learn
A lot of thanks... i choose the (line.canFind(term)). No is not my first language, Python was my first, but i dont coding a long time...

Re: "if sting in string"

2015-09-16 Thread John Colvin via Digitalmars-d-learn
On Wednesday, 16 September 2015 at 12:55:13 UTC, smadus wrote: Hello Searching after hours, i give up and here is the question. ;) I will make a programm, this searching all txt files on the system or the path from user and searching a user tiped term in this file.

"if sting in string"

2015-09-16 Thread smadus via Digitalmars-d-learn
Hello Searching after hours, i give up and here is the question. ;) I will make a programm, this searching all txt files on the system or the path from user and searching a user tiped term in this file. http://dpaste.dzfl.pl/dec09a0f849c The Problem is in the if() "line 17" i searching in

Re: "if sting in string"

2015-09-16 Thread Rikki Cattermole via Digitalmars-d-learn
On 17/09/15 12:55 AM, smadus wrote: Hello Searching after hours, i give up and here is the question. ;) I will make a programm, this searching all txt files on the system or the path from user and searching a user tiped term in this file. http://dpaste.dzfl.pl/dec09a0f849c The Problem is in

Re: "if sting in string"

2015-09-16 Thread cym13 via Digitalmars-d-learn
On Wednesday, 16 September 2015 at 12:55:13 UTC, smadus wrote: Hello Searching after hours, i give up and here is the question. ;) I will make a programm, this searching all txt files on the system or the path from user and searching a user tiped term in this file.