Saturday, July 5th 2008, 12:24pm UTC+1

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Wednesday, January 9th 2008, 1:56am

change the positions of characters with in a string

Hi

I want to change the positions of characters in a string.
Ex: QString x = "341256";
I want to Change the x string from "341256" to "123456";

How can I change the character positions within a string.

Thanks & Regards,
Arun.
  • Go to the top of the page

stinos

Intermediate

2

Wednesday, January 9th 2008, 9:33am

you can use something like x[ 0 ] = x[ 1 ]
madinsjamania
  • Go to the top of the page

Rate this thread