RE: [cfaussie] Creating A String With ## values in coldfusion

2015-03-01 Thread raiola
Hi Charlie Yes solved from a CF perspective however as the issue appears to be the user of the # appended to a url within I-Phone App development environment NB: TrackingCentral is now a registered product & services provider for the National Disability Insurance Scheme, under

RE: [cfaussie] Creating A String With ## values in coldfusion

2015-03-01 Thread Charlie Arehart
Happy to help, and thanks for the kind regards. And we’ll assume you’re all set then. :-) /charlie From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of rai...@ozemail.com.au Sent: Sunday, March 01, 2015 9:17 PM To: cfaussie@googlegroups.com Subject: RE: [cfaussie]

RE: [cfaussie] Creating A String With ## values in coldfusion

2015-03-01 Thread raiola
Thanks Charlie As Always a clear and detailed reply NB: TrackingCentral is now a registered product & services provider for the National Disability Insurance Scheme, under the category of Assisted Technology Regards Claude Raiola Director TrackingCentral Pty. Ltd Free

RE: [cfaussie] Creating A String With ## values in coldfusion

2015-03-01 Thread Charlie Arehart
And Claude, besides confirming Cassie’s observation that you needed to use & and not +, I had wondered if Dale’s first answer might have done the trick even more simply. You never seemed to reply to that: That covers the escaping of the hashes, and the concatenation of the variable (which as

Re: [cfaussie] Creating A String With ## values in coldfusion

2015-03-01 Thread Barry Beattie
@Dale yes, thanks for the correction. I'm in the same boat - still respect the CF platform and language, but work in other areas. I haven't cut CF code in over 5 years so some bits are a bit rusty. @Claude: the main point is using the chr(xx) function to then create a re-usable variable containin

RE: SPAM-LOW: RE: [cfaussie] Creating A String With ## values in coldfusion

2015-03-01 Thread Cassie Woolley
I think it should be & and not +. From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of rai...@ozemail.com.au Sent: Monday, 2 March 2015 10:44 AM To: cfaussie@googlegroups.com Subject: SPAM-LOW: RE: [cfaussie] Creating A String With ## values in coldfusion

RE: [cfaussie] Creating A String With ## values in coldfusion

2015-03-01 Thread Dale Fraser
Because your using + instead of & Regards Dale Fraser From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of rai...@ozemail.com.au Sent: Monday, 2 March 2015 11:44 AM To: cfaussie@googlegroups.com Subject: RE: [cfaussie] Creating A String With ## values in coldfus

RE: [cfaussie] Creating A String With ## values in coldfusion

2015-03-01 Thread raiola
Generates the error The value # cannot be converted to a number. The error occurred in C:/home/svr.trackingcentral.com.au/wwwroot/mobile_apps/test.cfm: line 11 9 : 10 : 11 : 12 : 13 : #mycommand#

RE: [cfaussie] Creating A String With ## values in coldfusion

2015-03-01 Thread raiola
Hi Barry When I try Without the “ at start and end I get an error message cannot sum # With “ at start and end all that is passed is delim Some background the code is in a cfc that my iphone app calls to generate a dynamic value that is passed back to the iphone code and th

RE: [cfaussie] Creating A String With ## values in coldfusion

2015-03-01 Thread Dale Fraser
Yes I thought that also Im pretty sure cf string append is & don’t use it anymore so could be wrong http://url.id> & delim & "1212" & delim /> Should give you what you want, note 2 #’s in delim Regards Dale Fraser From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroup

Re: [cfaussie] Creating A String With ## values in coldfusion

2015-03-01 Thread Blair McKenzie
Yeah, I do that for line breaks. Either way, you get rid of the eye-crossing stream of #. Blair On Mon, Mar 2, 2015 at 11:10 AM, Barry Beattie wrote: > personally, I'd much prefer setting the # as a variable from the chr(x) > function over replacing one string with another. Easily missed and th

Re: [cfaussie] Creating A String With ## values in coldfusion

2015-03-01 Thread Barry Beattie
personally, I'd much prefer setting the # as a variable from the chr(x) function over replacing one string with another. Easily missed and there are ~ popping up unexpectedly... my 2c (from memory, YMMV) /** # as delim **/ On Mon, Mar 2, 2015 at 9:53 AM, Blair McKenzie wrote: > Another

Re: [cfaussie] Creating A String With ## values in coldfusion

2015-03-01 Thread Blair McKenzie
Another alternative - create the output with a substitute delimiter, like ~, and then use replace to change them to hashes. Blair On Mon, Mar 2, 2015 at 10:41 AM, Dale Fraser wrote: > I would break it apart > > > > ”> > > > > To > > > > > > > > Regards > > Dale

RE: [cfaussie] Creating A String With ## values in coldfusion

2015-03-01 Thread Dale Fraser
I would break it apart http://url.id#%23%231212%23%23> ”> To Regards Dale Fraser From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of Jack Traynor Sent: Monday, 2 March 2015 8:54 AM To: cfaussie@googlegroups.com Subject: Re: [cfaussie] Creating A St

Re: [cfaussie] Creating A String With ## values in coldfusion

2015-03-01 Thread Jack Traynor
I copy + pasted the code from your email into a CF10 test page and added /?id=100 to the URL and it worked as you expected it to. Do you have an example of an ID? What error are you getting? Regards, Jack On Mon, Mar 2, 2015 at 2:22 AM, M@ Bourke wrote: > how about something like >

Re: [cfaussie] Creating A String With ## values in coldfusion

2015-03-01 Thread M@ Bourke
how about something like http://url.id/#%23%231212%23%23>”> On Sun, Mar 1, 2015 at 3:16 PM, wrote: > Hi > > > > This has been causing me grief so some assistance would be appreciated > > > > I need to be able to create a ColdFusion variable that contains the > following text “#reboot#45454#1212#

[cfaussie] Creating A String With ## values in coldfusion

2015-03-01 Thread raiola
Hi This has been causing me grief so some assistance would be appreciated I need to be able to create a ColdFusion variable that contains the following text "#reboot#45454#1212#" The values of "#reboot#" and "#1212#" are constant however the value of 45454 is dynamically generated from