I need to check the occurrence of a particular symbol say #$ at the beginning of my String.
Simply, I need to get the
boolean symbolExist true for all the following cases,
#$MyString#$<Space>myString#$<Space><Space>myString#$<Space><space>my#$String#$My#$String- etc. (never mind what ever coming after the 2 characters)
boolean symbolExist false for
MyString#$My#$string- etc .