Check range for runtime get string function in stream mode.