How To Check If Part Of A String Is Rigidly Attached