Concatenate the two string only one - InfoPath Dev
in

InfoPath Dev

Having trouble finding a blog or post that answers your question? Check out our Custom Search Page

Concatenate the two string only one

Last post 11-29-2016 03:05 AM by CRogado. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 11-25-2016 06:23 AM

    Concatenate the two string only one

    I need concatenate the two string only one: concat("("; concat(substring("000"; 1; 3 - string-length(requestID)); requestID)) concat("v", concat(substring("00", 1, 2 - string-length(../my:requestVersion)), ../my:requestVersion), ")") The result should be: 000 v 00
    Filed under: , ,
  • 11-28-2016 07:50 AM In reply to

    Re: Concatenate the two string only one

     I'm afraid I don't understand the question. I would guess based on your desired outcome (replacing my fields w/ your fields, and I think based on language you need semicolons where the English version uses commas)

    concat(substring("000", 1, 3 - string-length(my:field1)), my:field1, " v ", substring("00", 1, 2 - string-length(my:field2)), my:field2)

    Hilary Stoupa

  • 11-29-2016 03:05 AM In reply to

    Re: Concatenate the two string only one

    You are the best :) Thanks it's working :)
Page 1 of 1 (3 items)
Copyright © 2003-2017 Qdabra Software. All rights reserved.
View our Terms of Use.