MU Soapbox

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Muxify
    • Mustard

    Which TinyMUX function... ? (replace spaces with underscores)

    MU Code
    2
    3
    977
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • surreality
      surreality last edited by

      I look at the function list, and my eyes begin to cross. I do not know which function, exactly, I'm looking for -- but I'm reasonably certain there is one that does what I want.

      I need a function that will take a string, and substitute an underscore for each space in that string.

      I am sure there has to be one -- but the ones I'm finding want a specific number of elements in the string to replace. That's not so handy when the number of elements (spaces) in the string is going to vary.

      Pretty sure if there's something that does this, somebody knows what it is -- and I'm sure it's something stupidly simple I'm overlooking, but I've been looking for a solid hour now and my eyes have completely crossed.

      Help? Please? 🙂

      Oh fucking well.

      1 Reply Last reply Reply Quote 1
      • RnMissionRun
        RnMissionRun last edited by

        Do you mean:

        edit(<string>,%b,_)
        1 Reply Last reply Reply Quote 5
        • surreality
          surreality last edited by

          YES! Thank you! ❤

          I knew it'd be something simple that I was just completely and totally missing. Thank you many times over.

          Oh fucking well.

          1 Reply Last reply Reply Quote 2
          • 1 / 1
          • First post
            Last post