I need to ignore the enter on input to further compare the input string with other strings.
Bellow fragment of code input and output
;get output handle
push dword STD_OUTPUT_HANDLE
call GetStdHandle
mov [hstdout],eax
mov eax, 1000h
;get input handle
push dword STD_INPUT_HANDLE
call GetStdHandle
mov [hstdin],eax
;Read
push 0
push actlen2 ;Pointer to a DWORD for number of characters read to be returned
push 11
push string
push dword [hstdin]
call ReadConsoleA
;Write
push 0
push actlen
push 11
push string
push dword [hstdout]
call WriteFile
String has newline
Image