Quantcast
Viewing all articles
Browse latest Browse all 108

String segment comparator

I've worked a little bit with creating language parsers using c# completely outside of unity before, but I now i'm writing a little language parser inside of unity and I need to know if there is a way where I can compare a whole text file for a single word like such: if (this.tokens[this.index].Equals("print")) I already have the basic parser setup though var lines = file.text.Split("\n"[0]); for (var i = 0; i < file.text.Length; i++) {

Viewing all articles
Browse latest Browse all 108

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>