hi,
Is there any standard function(or way) to get the first letter of a given string?
I tried splitting the string, but that didnt work..

Qt Code:
  1. QStringList lineList=line.split(""); //the "line", i read it before from a file
  2. std::cout<<"the first word of the line :"<<lineList.at(0).toStdString()<<endl;
To copy to clipboard, switch view to plain text mode 
If anybody knows, plz tell me...
Thank u