Are you able to put the 2 values into a custom state where the data type is of ‘text’ ?
Then you can do what you like with it by referencing the state.