indexof with witespaces and shared strings