Right now im using strstr but it needs to be "if the string starts with 172 ...

I can't find anything. In Vb.net it's "if str.startswith =