Rajesh Jangid Rajesh Jangid - 5 months ago 8x
HTML Question

Difference between two white spaces

This may sound stupid question but i can't figure out why in a string

करहि तज दबअउइ उहिकिहर कतज

I can't find any spaces in this string

Then I thought may be i just copy the blank space between two words and compare with space guess what it gives false

console.log(' ' == ' ');

couldn't figure out why this is happening


Is there any way to find any type of blank spaces in string weather that be any any character code?


It appears that the string is using the html entity   which is a non-breaking space character, which is indeed different than the ' ' space character.