Emulate File.stream! for a string variable

Could you post the code with which you’re trying this?