有關接收問題

如果收到的資料為"1234567"
如何得知3,4兩個位的字是不是3,4
如果收到的資料為"7654321"
如何得知567在數據中第幾個位?
[104 byte] By [hkwaman-金仔] at [2008-2-12]