I know that trim removes spaces from the beginning and end of a line, but I need to check if the first character of the line is a space. I tried what seems to be about everything, but I can't get it to work.
Can someone point me in the right direction? I would appreciate it if regular expressions were not used.
Thanks a lot!
source share