Jump to content
  • 0

Controle ip-nummer

Arthur Poortman


3 answers to this question

Recommended Posts

  • 0

Wat grof, maar doet het werk...


Case(PatternCount(ipnummer;".")<>3 or PatternCount(ipnummer;" ")>0;"Onjuiste separators";
LeftWords(Substitute(ipnummer;".";" ");1)<0 or LeftWords(Substitute(ipnummer;".";" ");1)>255;LeftWords(Substitute(ipnummer;".";" ");1)&"Fout seg 1";
MiddleWords(Substitute(ipnummer;".";" ");" ";1)<0 or MiddleWords(Substitute(ipnummer;".";" ");" ";1)>255;"Fout seg 2";
RightWords(MiddleWords(Substitute(ipnummer;".";" ");" ";3);1)<0 or RightWords(MiddleWords(Substitute(ipnummer;".";" ");" ";3);1)>255;RightWords(MiddleWords(Substitute(ipnummer;".";" ");" ";2);1)&"Fout seg 3";
RightWords(Substitute(ipnummer;".";" ");1)<0 or RightWords(Substitute(ipnummer;".";" ");1)>255;"Fout seg 4";"Goed")

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...