![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | build IP Address from user input Hi All, Am running shy on hair here and am looking for some assistance if you can. What I am looking to do is the following; get user input (a 3 digit number, eg 550 (input = 550) split this into 2 parts(currently using left(input,1) and right(input,2) the gives me 2 numbers 5 and 50 I then want to create an Ip address like this 10.5.50.z the 10 is always there the 5 and the 50 have taken from the users 3 digit input and the z will be a select case enter anyone able to assist. I cant get to grips with the join() command can any one assit with examples if possible thanks Trev url:http://www.ureader.com/gp/1675-1.aspx |
My System Specs![]() |
| | #2 (permalink) |
| | Re: build IP Address from user input "Trevor" <baloo@xxxxxx> wrote in message news:e561eecdc34b4942bca35bfc93f4b716@xxxxxx Quote: > Hi All, > Am running shy on hair here and am looking for some assistance if you can. > What I am looking to do is the following; > get user input (a 3 digit number, eg 550 (input = 550) > split this into 2 parts(currently using left(input,1) and right(input,2) > the > gives me 2 numbers 5 and 50 > I then want to create an Ip address like this > > 10.5.50.z > > the 10 is always there the 5 and the 50 have taken from the users 3 digit > input and the z will be a select case enter > > anyone able to assist. I cant get to grips with the join() command can > any > one assit with examples if possible > > thanks > Trev > > url:http://www.ureader.com/gp/1675-1.aspx |
My System Specs![]() |
| | #3 (permalink) |
| | Re: build IP Address from user input Trevor schreef: Quote: > Hi All, > Am running shy on hair here and am looking for some assistance if you can. > What I am looking to do is the following; > get user input (a 3 digit number, eg 550 (input = 550) > split this into 2 parts(currently using left(input,1) and right(input,2) the > gives me 2 numbers 5 and 50 > I then want to create an Ip address like this > > 10.5.50.z > > the 10 is always there the 5 and the 50 have taken from the users 3 digit > input and the z will be a select case enter > > anyone able to assist. I cant get to grips with the join() command can any > one assit with examples if possible > > thanks > Trev > > url:http://www.ureader.com/gp/1675-1.aspx -- Luuk |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| HID Non-User Input Data Filter | Vista installation & setup | |||
| Waiting for user input | PowerShell | |||
| Re-build XP address book | Vista mail | |||
| Validating a user input directory path | PowerShell | |||
| User Input | PowerShell | |||