archrid404 Posted January 11, 2021 Share Posted January 11, 2021 How to replace the last "," with "and" Here my variable test, test2, test3 it should be test, test2 and test3 Link to comment Share on other sites More sharing options...
comment Posted January 11, 2021 Share Posted January 11, 2021 Let ( lastComma = Position ( text ; "," ; Length ( text ) ; - 1 ) ; If ( lastComma ; Replace ( text ; lastComma ; 1 ; " and" ) ; text ) ) 1 Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 1202 days old. Please don't post here. Open a new topic instead.
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 accountSign in
Already have an account? Sign in here.
Sign In Now