Advertisement
Guest User

Untitled

a guest
Aug 20th, 2013
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
D 0.15 KB | None | 0 0
  1. import std.stdio, std.file;
  2.  
  3. void main()
  4. {
  5.     string source = readText("file1.shader");
  6.     string slice = source[33..54];
  7.     writeln(slice ~ "|");
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement