08-14-2020, 07:22 PM
When two strings seem equal but aren't, the reason may be:
- one of strings ends with newline or space and you don't see it.
- the strings have different newlines, for example \r\n and \n.
- one of strings has invisible characters.
- some characters that look the same actually have different Unicode codes.
To see all codes in a string, use function outb:
- one of strings ends with newline or space and you don't see it.
- the strings have different newlines, for example \r\n and \n.
- one of strings has invisible characters.
- some characters that look the same actually have different Unicode codes.
To see all codes in a string, use function outb: