Mercurial > projects > dwt-mac
comparison dwt/dwthelper/utils.d @ 128:07399639c0c8
Added DWT extension to dwt.widgets.MessageBox
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Sat, 17 Jan 2009 16:26:49 +0100 |
parents | 38807a925e24 |
children | ad4e1fe71a5a |
comparison
equal
deleted
inserted
replaced
127:8086e7b181a3 | 128:07399639c0c8 |
---|---|
575 | 575 |
576 public int indexOf( String str, char searched, int startpos ){ | 576 public int indexOf( String str, char searched, int startpos ){ |
577 int res = tango.text.Util.locate( str, searched, startpos ); | 577 int res = tango.text.Util.locate( str, searched, startpos ); |
578 if( res is str.length ) res = -1; | 578 if( res is str.length ) res = -1; |
579 return res; | 579 return res; |
580 }*/ | 580 } |
581 | 581 |
582 /*public int indexOf(String str, String ch){ | 582 public int indexOf(String str, String ch){ |
583 return indexOf( str, ch, 0 ); | 583 return indexOf( str, ch, 0 ); |
584 } | 584 } |
585 | 585 |
586 public int indexOf(String str, String ch, int start){ | 586 public int indexOf(String str, String ch, int start){ |
587 int res = tango.text.Util.locatePattern( str, ch, start ); | 587 int res = tango.text.Util.locatePattern( str, ch, start ); |