Code: Select all

`(WxString1:WxString2)`

Code: Select all

```
if(mwxString[0].GetValue() == "("){
int colonIndex=0;
for(int i = ;, i<mwxString.size(); i++){
if(mwxString[i].GetValue() == ":"){
colonIndex=i;
i=mwxString.size();
}
}
wxString WxString1 = mwxString[1,colonIndex-1];
wxString WxString2= mwxString[colonIndex+1,WxID.size()];
}
```

Code: Select all

`error: ISO C++ forbids comparison between pointer and integer [-fpermissive]|`

Sorry in advance as I think it's a very noob question, but I'm having trouble googling this one out.

Code: Select all

```
wxString test = "(";
if(WxID[0].GetValue() == test[0].GetValue()){
```