I am really sorry.. Actually I am a beginner. so i am not sure what to with this function, Like I have no space in my string but I have to see from that string if I get any combination like "0100" or "100".. can u please explain.. Thanks a lot for your help :)