Ask a Question related to Macromedia Director Lingo, Design and Development.

  1. #1

    Default Put partial text

    Hi,

    Reading from the registry I get a string like "C:\Program
    Files\Abobe\Illustrator\illustrator.exe".

    set installtypeOverview= dosReadReg(gRegistryRoot, gRegistryPath,
    "InstallType")

    put installtypeOverview

    After printing the whole string, I also want to print the last part of the
    string "illustrator.exe" in the message window.

    How can I do this? Can anyone help me with a script that finds the last
    slash and puts everything after it?

    Thanx in advance....

    Alvin


    Alvin Bakker Guest

  2. Similar Questions and Discussions

    1. only partial dynamic text appearing?
      Does anyone know why the first part of my CSS formatted is the only part that shows? I know the rest of my text is formatted correctly because I can...
    2. Partial Transparency
      "insert(used)NicknameHere" <webforumsuser@macromedia.com> wrote in message news:bl0u0j$9gq$1@forums.macromedia.com... would like to have table...
    3. Partial Words search
      Hi - can anyone point me to info on how to search on partial words using ASP ? For instance if a db field contains the product name 'cx-3', but the...
    4. Partial Borders
      I'm printing using an Epson 640 with an XP driver downloaded from the Epson site from Photoshop Elements 2.0. If I select a border in Print...
    5. Partial Index
      Can someone tell if it's possible to partially index a varchar. For instance, I have a varchar(40) field, but I don't want to index all 40...
  3. #2

    Default Re: Put partial text

    set the itemdelimiter to "\"
    the last part of your string will then be:

    string.item[string.item.count]

    "Alvin Bakker" <alvin@nettics.com> wrote in message
    news:bgnq8m$muh$1@forums.macromedia.com...
    > Hi,
    >
    > Reading from the registry I get a string like "C:\Program
    > Files\Abobe\Illustrator\illustrator.exe".
    >
    > set installtypeOverview= dosReadReg(gRegistryRoot, gRegistryPath,
    > "InstallType")
    >
    > put installtypeOverview
    >
    > After printing the whole string, I also want to print the last part of the
    > string "illustrator.exe" in the message window.
    >
    > How can I do this? Can anyone help me with a script that finds the last
    > slash and puts everything after it?
    >
    > Thanx in advance....
    >
    > Alvin
    >
    >

    JPrice Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139