arrays

From: ugy101 (smooth_criminal786_at_hotmail-dot-com.no-spam.invalid)
Date: 03/30/04


Date: Tue, 30 Mar 2004 08:53:49 -0600

i want to know how to create arrays, and also how to search through
them.

say this is my array list:
[L, I, 1]*
[o, 0, Q]

i want to create these arrays and then do the following:

when the number 1, or L, or I is entered within a word in a text
field, e.g. CAR1, then search through the arrays to find the [L, I,
1] array, then replace the 1 with the letters and numbers in this
array, so i would like the results as folloed when echoed

CAR1
CARL
CARI

sorry if not explained properly, let me know

thankyou 4 any help, i really need it

----------------------------------------
The post originated from PHP Freaks:
----------------------------------------
http://www.phpfreaks.com
http://www.phpfreaks.com/forums



Relevant Pages

  • Re: fast dictionary search algorithm
    ... of arrays based on converting one or more letters into an integer, ... using it as an array offset. ... You all think I'm paranoid, ...
    (comp.programming)
  • Re: Using two justifications on the same line.
    ... The chapter I am reading now is about arrays, so I am supposed to load ... tried is several variations on this: ... 'Chapter 3: Letters'] ... what I am missing? ...
    (comp.lang.ruby)
  • Re: fast dictionary search algorithm
    ... >) of arrays based on converting one or more letters into an integer, ... >) using it as an array offset. ... - Gerry Quinn ...
    (comp.programming)
  • Re: Getting Perl to ignore Letters when calculating numbers.
    ... > When I run my script, it dies the first time it sees letters ... What does "dies" mean? ... arrays in the code you've shown us. ... You should always enable warnings when developing Perl code! ...
    (comp.lang.perl.misc)
  • Re: Problem Generating Random Letters
    ... > random letters in the range a-e and output them to textField1. ... in no particular language... ... you could start off with two arrays ...
    (comp.programming)