gpt-3.5-turbo-0301· OpenAI
WildChat-4.8M (AI2)
ue4中,写一段代码 , fstring "Aki/JavaScript/Launcher/TsSplash.bc" 截取 “Aki/JavaScript/”,变成…
- User
ue4中,写一段代码 , fstring "Aki/JavaScript/Launcher/TsSplash.bc" 截取 “Aki/JavaScript/”,变成 "Launcher/TsSplash.bc"
- Assistant
FString filePath = "Aki/JavaScript/Launcher/TsSplash.bc"; FString subString = filePath.Mid(filePath.Find(TEXT("Aki/JavaScript/")) + FString(TEXT("Aki/JavaScript/")).Len()); UE_LOG(LogTemp, Warning, TEXT("New Path: %s"), *subString); // Output: "New Path: Launcher/TsSplash.bc"