Announcement

Collapse
No announcement yet.

How to get only the first letter and the last letter of a word in input

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

  • How to get only the first letter and the last letter of a word in input

    How to get only the first letter and the last letter of a word in input?

  • #2
    Nevermind i figured it out.
    Thanks

    Comment


    • #3
      Originally posted by Tanner View Post
      Nevermind i figured it out.
      Thanks
      No i didn't figure out how to get the last letter.
      Please help.

      Comment


      • #4
        rGetTex = Input.GetText("P1Inp01");
        rNewTexFisrt = String.Left(rGetTex, 1);
        rNewTexLast = String.Right(rGetTex, 1);

        Comment


        • #5
          Example


          Code:
          [ATTACH]n303732[/ATTACH]

          Comment


          • #6
            Originally posted by herrin View Post
            Example


            Code:
            [ATTACH]n303732[/ATTACH]
            Thanks so much.

            Comment


            • #7
              Originally posted by kadel View Post
              rGetTex = Input.GetText("P1Inp01");
              rNewTexFisrt = String.Left(rGetTex, 1);
              rNewTexLast = String.Right(rGetTex, 1);
              Thanks i really appreciate it.

              Comment

              Working...
              X