Re: looping through text with array_key_exists function



I see what you mean - but you can't explode a space, then append '.jpg'
to it - although I'm sure there is a way around this.

Thanks
Neil.


-Lost wrote:

"drako" <neil@xxxxxxxxxxxxxx> wrote in message
news:1151534640.569186.5300@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

$convert = array("a" => "a.jpg", "b" => "b.jpg", "c" => "c.jpg", "d" =>
"d.jpg", "e" => "e.jpg", "f" => "f.jpg", "g" => "g.jpg", "h" =>
"h.jpg", "i" => "i.jpg", "j" => "j.jpg", "k" => "k.jpg", "l" =>
"l.jpg", "m" => "m.jpg", "n" => "n.jpg", "o" => "o.jpg", "p" =>
"p.jpg", "q" => "q.jpg", "r" => "r.jpg", "s" => "s.jpg", "t" =>
"t.jpg", "u" => "u.jpg", "v" => "v.jpg", "w" => "w.jpg", "x" =>
"x.jpg", "y" => "y.jpg", "z" => "z.jpg", "0" => "0.jpg", "1" =>
"1.jpg", "2" => "2.jpg", "3" => "3.jpg", "4" => "4.jpg", "5" =>
"5.jpg", "6" => "6.jpg", "7" => "7.jpg", "8" => "8.jpg", "9" =>
"9.jpg");

I have to get busy on something else or I would give this more attention, but...

You could always explode a string and simply append '.jpg' since obviously, everything you
have is 'everything you have.jpg'.

-Lost

.



Relevant Pages

  • Re: Parsing / " characters
    ... have the rest of the code to append the ... - JCL inserts that string at the start of every program, ... >>the code associated with that program - in exact order, ... >>Dim db As Database, tdf As TableDef ...
    (microsoft.public.access.externaldata)
  • Re: Parsing / " characters
    ... create a new record in table TTT containing the string ... >I can append ALL the records from the ... >Dim db As Database, tdf As TableDef ... >> Dim lngFN as Long ...
    (microsoft.public.access.externaldata)
  • Re: Fastest way to append text to a TextBox
    ... What's the fastest way to append text to a TextBox? ... CPU and, even if I limit the TextBox to just 30KB of text, it takes over ... Private Sub AppendText(ByVal sText As String) ... Dim iLen As Integer = .Text.Length + sText.Length ...
    (microsoft.public.dotnet.languages.vb)
  • RE: SaveWorkbookAsToday()
    ... Create a string variables for the day and convert your date to the format you ... Then append or concatenate the string date where necessary in the file name. ... Dim DateFormat As String ...
    (microsoft.public.excel.programming)
  • Re: Problem appending Objects to File
    ... // test ability to append to a serialized object stream ... * write some string objects to serialized file ... ObjectOutputStream oos = new ObjectOutputStream; ...
    (comp.lang.java.programmer)