string question

2001-06-14 Thread Luinrandir Hernson
I am receiveing these long website addresses and I want to shorten them after a certain symbol like a question mark or a word like "/action". Is there an easy way to do that? EX: http://www.website.net/action.lasso?-database=Links_Engine TO: http://www.website.net/action.lasso OR EVEN http://w

String question...

2001-10-08 Thread James Kelty
What is the best, or workable, way to count the elements in a string? For instance, if someone enters a desired password through a form, I would like to be able to make sure that it is a certain length. I though about using the length() function, but I am not sure if that us secure... Than

Re: string question

2001-06-14 Thread Curtis Poe
--- Luinrandir Hernson <[EMAIL PROTECTED]> wrote: > I am receiveing these long website addresses and I want to shorten them after a >certain symbol > like a question mark or a word like "/action". Is there an easy way to do that? > > EX: > http://www.website.net/action.lasso?-database=Links_Engi

RE: string question

2001-06-14 Thread Stout, Joel R
= $split[0]."//".$split[2]; print $finish; -Original Message- From: Curtis Poe [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 14, 2001 1:32 PM To: Luinrandir Hernson; [EMAIL PROTECTED] Subject: Re: string question --- Luinrandir Hernson <[EMAIL PROTECTED]> wrote: > I am

RE: string question

2001-06-14 Thread Camilo Gonzalez
Dude, Try @shortenedwords = split (/\/action/, @webaddress,1); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 14, 2001 3:21 PM To: [EMAIL PROTECTED] Subject: string question I am receiveing these long website addresses and I want to shorten

Re: String question...

2001-10-08 Thread sneex
... and entering a PW thru a form is? anyhow, try: my @pw_array = (split('', $_)); print "The length of the PW is $#pw_array\n"; -Sx- ??? On Monday, October 8, 2001, at 12:26 PM, James Kelty wrote: What is the best, or workable, way to count the elements in a string? For instance, if someo

Re: String question...

2001-10-08 Thread Mel Matsuoka
At 09:26 AM 10/08/2001 -0700, James Kelty wrote: >What is the best, or workable, way to count the elements in a string? >For instance, if someone enters a desired password through a form, >I would like to be able to make sure that it is a certain length. >I though about using the length() funct

Re: String question...

2001-10-08 Thread RaFaL Pocztarski
James Kelty wrote: > What is the best, or workable, way to count the elements in a string? For instance, > if someone enters a desired password through a form, I would like to be able to make > sure that it is a certain length. I though about using the length() function, but I >am not > sure if