// Fill out your copyright notice in the Description page of Project Settings. #include "ModeInputTextBox.h" void UModeInputTextBox::HandleOnTextChanged(FText const & inText) { auto & s = inText.ToString(); auto lastChar = s.LeftChop(1); lastChar.ToUpperInline(); SetText(FText::FromString(lastChar)); }