Using More Than 1 Substitute ?

Ask a Question related to FileMaker, Design and Development.

  1. #1

    Default Using More Than 1 Substitute ?

    I have a mess of text in 1 field.

    140$042$024$104 etc ...

    I want to have 1 calc field that fixes all of it with a key.

    Substitute (text, "104$", "A")& Substitute (text, "042$", "B")

    But for some reason, my above formula is not working.

    -Squeed
    J. Squeed Guest

  2. Similar Questions and Discussions

    1. Flash as a DRM substitute
      I'd like to be able to stream audio to end users, but do not want those users to be able to play back songs outside of the streaming. If I'm using...
    2. Substitute a color in an EPS
      Hi, I must edit an EPS to change the color of the shapes. Since it's an EPS, I cannot edit each shape separately (moreover, it's a vectorized...
    3. Substitute for mod function
      Hi all! I need to find a substitute for the mod function which can be found in vbscript and so on. Example: for i = 0 to 100 if (i mod...
    4. substitute character in variable
      Pardon my ignorance but, How do you parse a variable to find every occurrence of a string and replace the string with another. I tried using ~s/...
    5. Need substitute for SSI GLOBAL
      Hello, I'm trying to port a website from GoServer to IIS 5.1 and it makes a lot of use of SSI. Under GoServer I could set GLOBAL variables,...
  3. #2

    Default Re: Using More Than 1 Substitute ?

    In article <8e19e59e.0309040755.1f9c1bbb@posting.google.com >,
    [email]squeed2000@yahoo.com[/email] says...
    > I have a mess of text in 1 field.
    >
    > 140$042$024$104 etc ...
    >
    > I want to have 1 calc field that fixes all of it with a key.
    >
    > Substitute (text, "104$", "A")& Substitute (text, "042$", "B")
    >
    > But for some reason, my above formula is not working.
    >
    You have to nest them:

    Substitute(Substitute(text, "104$", "A"), "042$", "B")

    Whichever one you want done first, goes deeper in the nesting.
    Kevin Hayes Guest

  4. #3

    Default Re: Using More Than 1 Substitute ?

    In article <8e19e59e.0309040755.1f9c1bbb@posting.google.com >,
    [email]squeed2000@yahoo.com[/email] (J. Squeed) wrote:
    > I have a mess of text in 1 field.
    >
    > 140$042$024$104 etc ...
    >
    > I want to have 1 calc field that fixes all of it with a key.
    >
    > Substitute (text, "104$", "A")& Substitute (text, "042$", "B")
    >
    > But for some reason, my above formula is not working.
    You have to nest it

    Substitute (Substitute (text, "104$", "A"), "042$", "B")

    --
    Real Email-> neoluddite0comcast.net <- replace 0 with @
    Blue & White G3/400MHz MacOS 9.1, Starmax 3000/200MHz MacOS 8.6
    NeoLuddite 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