For example if the string I have would be "123456789".
If the string begins with "123", it would do the function I want to.
If it begins with any other number/character, I want to perform another function (if/else).
That's all, thank you!
simply:
string is 123456789
if string begins with 123 = perform function
else = perform another function