how to enter a number in url

4 visualizaciones (últimos 30 días)
FIR el 16 de Mzo. de 2014
Respondida: Image Analyst el 16 de Mzo. de 2014
I have a url in that i want to type a number ,the number varies each time,if i enter it manually it works for ex
url=' time is 18.28'
dest is my mobile number,if i enter manually it works but i have saved it in variable A how to enter it tere
kindly help

Respuesta aceptada

the cyclist
the cyclist el 16 de Mzo. de 2014
A = '123456789';
url=['',A,'&msg=Out time is 18.28']

Más respuestas (1)

Image Analyst
Image Analyst el 16 de Mzo. de 2014
You can use sprintf():
url=sprintf(' time is 18.28', number1, number2);
number1 and number2 replace the %d's in the format string.


Más información sobre Characters and Strings en Help Center y File Exchange.


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by