Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. fast way to find the index of the first letter in a richTextBox?

fast way to find the index of the first letter in a richTextBox?

Scheduled Pinned Locked Moved C#
databasequestion
5 Posts 3 Posters 0 Views 1 Watching
  • 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.
  • E Offline
    E Offline
    ektoras
    wrote on last edited by
    #1

    fast way to find the index of the first letter in a richTextBox?

    C 1 Reply Last reply
    0
    • E ektoras

      fast way to find the index of the first letter in a richTextBox?

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      A regular expression. Christian I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer

      E 1 Reply Last reply
      0
      • C Christian Graus

        A regular expression. Christian I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer

        E Offline
        E Offline
        ektoras
        wrote on last edited by
        #3

        How???(Do you know?) I need the position of the letter

        M 1 Reply Last reply
        0
        • E ektoras

          How???(Do you know?) I need the position of the letter

          M Offline
          M Offline
          mav northwind
          wrote on last edited by
          #4

          Yes, you need the position of the letter, we understood this in your first posting. But unless you're telling us exactly what you want we'll have to guess what you mean. If you want the location of the first character in a RichTextBox on your screen your should use RichTextBox.GetPositionFromCharIndex(). mav

          E 1 Reply Last reply
          0
          • M mav northwind

            Yes, you need the position of the letter, we understood this in your first posting. But unless you're telling us exactly what you want we'll have to guess what you mean. If you want the location of the first character in a RichTextBox on your screen your should use RichTextBox.GetPositionFromCharIndex(). mav

            E Offline
            E Offline
            ektoras
            wrote on last edited by
            #5

            mav.northwind, I'm sorry. My English is not good. I mean the index is what I want.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups