Since it's a static method, you have two choices:
1) Can be complicated: modify all methods that need to access it to accept it as a parameter, and pass it round the system. This is good if you expect multiple instances of your class
2) Simple: move the definition outside the method. Declare it outside the method as
private static string impureText = "";
And remove the definition inside your method. Any member of the class can now access it.
This is bad if more than one instance needs to access it, as there will only be one
impureText
variable for your whole class.