Tony007 Posted May 18, 2021 Share Posted May 18, 2021 Hello, please I need your help. I have a sentence and I want to remove the last word. How can I do that? I've already started a script. #include <MsgBoxConstants.au3> $Sentence = "Monday Tuesday Wednesday Thursday Friday" $NewSentence = ;Delete last Word from String MsgBox($MB_SYSTEMMODAL, "", $NewSentence) ;Result should be "Monday Tuesday Wednesday Thursday" Can anyone point me in the right direction? Thank you in advance Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now