static void main(string[] args) { s = "abcd123"; //fully qualified use of mid() stringletters = microsoft.visualbasic.strings.mid(s,1,4); //can also just use the static function since //we imported the namespace stringnumbers = strings.mid(s,5,3); console.writeline(numbers + " " + letters); console.read(); }