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
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
--- 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
= $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
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
... 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
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
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