Adding a semicolon between words? - InfoPath Dev Sign in | Join | Help in Controls InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » Controls » Adding a semicolon between words? Adding a semicolon between words? Last post 06-19-2012 01:04 PM by kasobus. 3 replies. Page 1 of 1 (4 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 06-19-2012 09:10 AM kasobus Joined on 05-31-2012 Posts 4 Adding a semicolon between words? Reply Contact The data below is being pasted into a text box. Then when the user switches to the next view (via button) a text box will be in it's place but will reformat the data... INPUT FIELD NAME: Groups-Users NAMG_DEDocs_Authors NAMG_DEDocs_Invoice_Authors NAMG_DEDocs_Invoice_UserAdmin **DESIRED OUTPUT** FIELD NAME: Formatted-Groups-Users NAMG_DEDocs_Authors; NAMG_DEDocs_Invoice_Authors; NAMG_DEDocs_Invoice_UserAdmin; If someone can help me do this that would be great! Thanks! -Kyle 06-19-2012 11:16 AM In reply to Anson Hidajat Joined on 11-28-2011 Posts 619 Re: Adding a semicolon between words? Mark as Not AnswerMark as Answer... Reply Contact Perhaps the replace() function will work in your case? Just replace all instances of spaces (" ") with semicolons (";"). Hopefully that will work for you. Anson HidajatQdabra® Software/ InfoPathDev.comThe InfoPath Experts – Streamline data gathering to turn process into knowledge.™ 06-19-2012 12:33 PM In reply to kasobus Joined on 05-31-2012 Posts 4 Re: Adding a semicolon between words? Mark as Not AnswerMark as Answer... Reply Contact I tried that and it adds like 5 semicolons. :( If there is a way to add then and then remove all but 1, I would be fine with that too. 06-19-2012 01:04 PM In reply to kasobus Joined on 05-31-2012 Posts 4 Re: Adding a semicolon between words? Mark as Not AnswerMark as Answer... Reply Contact SOLUTION: In case anyone else has this question I figured it out! translate(normalize-space(Groups-Users), " ", ";") Remove the spaces which for some reason does not remove all spaces then translate that one space in a semicolon! :) Page 1 of 1 (4 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.