Announcement

Collapse
No announcement yet.

I want to show just 4 letters from a label and...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • I want to show just 4 letters from a label and...

    I want to make the label is able to just show 4 letters, i mean if a script like "Label.SetText("Label1", "IAMSCRIPT") i want label1 just show IAMS
    PLEASE HELP ♥

  • #2
    Check out String.Mid in the manual.

    Code:
    Dialog.Message("What?", "What the "..String.Mid("Hello World!", 1, 4))
    Bas Groothedde
    Imagine Programming :: Blog

    AMS8 Plugins
    IMXLH Compiler

    Comment


    • #3
      Oh thanks that kinda helped but i mean to label not a dialog message, maybe i didn't get it, so please if you can explain that or make it more clear

      Comment


      • #4
        Originally posted by Imagine Programming View Post
        Check out String.Mid in the manual.

        Code:
        Dialog.Message("What?", "What the "..String.Mid("Hello World!", 1, 4))

        Oh thanks that kinda helped but i mean to label not a dialog message, maybe i didn't get it, so please if you can explain that or make it more clear

        Comment


        • #5
          Originally posted by Imagine Programming View Post
          Check out String.Mid in the manual.

          Code:
          Dialog.Message("What?", "What the "..String.Mid("Hello World!", 1, 4))
          Umm okay , sry for being kinda annoying

          Code:
          a = Input.GetText("Input4");
          x = a * 0.0558530
          
          Label.SetText("Label7", "$".. x)
          Get it?, btw thanks for replying, please if you can help ,,

          Comment


          • #6
            Originally posted by Imagine Programming View Post
            Check out String.Mid in the manual.

            Code:
            Dialog.Message("What?", "What the "..String.Mid("Hello World!", 1, 4))
            Thanks so much it work ^v^
            Thanks dude

            Comment

            Working...
            X