diff dwt/dwthelper/utils.d @ 84:00a333240696

FileDialog, sync dwthelper with dwt-linux, some TCHAR issues
author Frank Benoit <benoit@tionex.de>
date Wed, 06 Feb 2008 18:46:23 +0100
parents 67d24430822a
children 2e6eb5bd2c16
line wrap: on
line diff
--- a/dwt/dwthelper/utils.d	Wed Feb 06 16:04:41 2008 +0100
+++ b/dwt/dwthelper/utils.d	Wed Feb 06 18:46:23 2008 +0100
@@ -88,6 +88,10 @@
     return res;
 }
 
+public char[] replace( char[] str, char from, char to ){
+    return tango.text.Util.replace( str.dup, from, to );
+}
+
 public char[] substring( char[] str, int start ){
     return str[ start .. $ ].dup;
 }