### How to use wxString::Prepend?

Posted:

**Tue Mar 13, 2012 9:31 am**Hello, I've been going round in circles (also cussing a bit) and just

can't figure out how this function works.

I just have a number, and would like to prepend a decimal point:

There's no 'coma' in the help file's description of the function, but I have

tried it without, tried it without 'wxT()'.. tried a lot of things.. nothing.

thanks!

can't figure out how this function works.

I just have a number, and would like to prepend a decimal point:

Code: Select all

```
wxString returnString = wxT("123");
returnString = wxString::Prepend(returnString, wxT("."));
```

tried it without, tried it without 'wxT()'.. tried a lot of things.. nothing.

thanks!