How to cast FString to "not const" TCHAR*?

Hello,
I’m pretty new to Unreal development and c++ programming.
I’m trying to parse an FString containing XML with the FFastXml::ParseXmlFile() function.
The requested parameter should be a TCHAR array which is not constant.
Whenever i use the pointerprefix, the type is " const TCHAR* " and the FString:GetCharArray() function delivers ‘FString::DataType’ which can’t be converted to TCHAR* either.
I have to convert the FString because it’s the response of an FHttpRequest and the content string is only accessable through the FHttpResponsePtr->GetContentAsString() function.

I’m struggling with this problem for quite a lot of time now and just can’t find any solution which doesn’t potentially lead to textencoding problems.

I would be really thankful for any kind of help.

A.E.

I think i solved it with “.GetCharArray().GetData()” but thanks anyway.