Simple Question.
How to check what char is on first Position on a LPCSTR?
Or just check if there is a Space on first Position?
Simple Question.
How to check what char is on first Position on a LPCSTR?
Or just check if there is a Space on first Position?
Given an LPCSTR named
str
, you can access the first character usingstr[0]
. For example: