Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. how to get a char in index from QString?
QtWS25 Last Chance

how to get a char in index from QString?

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 2 Posters 169 Views
  • 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.
  • R Offline
    R Offline
    RuWex
    wrote on last edited by
    #1

    for example, I have this QString ="Hello"
    and I want to get index 3-"l" into char,
    how can I do it?

    JonBJ 1 Reply Last reply
    0
    • R RuWex

      for example, I have this QString ="Hello"
      and I want to get index 3-"l" into char,
      how can I do it?

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by JonB
      #2

      @RuWex What about searching the QString doc for index and finding indexOf()?

      1 Reply Last reply
      3
      • R RuWex has marked this topic as solved on

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved