SMS line change

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 7.

Moderator: Benj

Post Reply
User avatar
jollybv
Flowcode v5 User
Posts: 374
Joined: Thu Feb 12, 2009 5:20 am
Location: Cape Town
Has thanked: 81 times
Been thanked: 25 times
Contact:

SMS line change

Post by jollybv »

Hi Guys

I would like to send an SMS but not quite sure of how to change lines do i use
Send Message = "First Line "+ "\r\n" +"Second Line" "\r\n" + "Third Line"+ "r\n\"

or would it be something like this

Send Message = "First Line \r\n" +"Second Line \r\n" + "Third Line r\n\"

I have also tried this but dose not seem to work

Message = "Airtime Balance " + AirTime
Message = Message + "\r\n"
Message = Message + "Speaker Volume " + Volume
Message = Message + "\r\n"
Message = Message + "Mic Volume " + MicVol

mnf
Valued Contributor
Valued Contributor
Posts: 1189
Joined: Wed May 31, 2017 11:57 am
Has thanked: 70 times
Been thanked: 439 times
Contact:

Re: SMS line change

Post by mnf »

Both should be equivalent - but may not be what the SMS expects as a line break.

Try '<br>' or '\n' or '%0a' ('%\n'?) ((instead of '\r\n')

Martin

User avatar
jollybv
Flowcode v5 User
Posts: 374
Joined: Thu Feb 12, 2009 5:20 am
Location: Cape Town
Has thanked: 81 times
Been thanked: 25 times
Contact:

Re: SMS line change

Post by jollybv »

Hi Martin

Thanks will try them have have tried the "\n" dos not work

Post Reply