<div dir="ltr"><div class="gmail_extra"><div><div class="gmail_signature"><div>Hi - where on confluence is this useful information documented? When searching, I couldn't find even find it on the wiki.</div><div>-Avi</div><div><br></div><div dir="ltr">On Thu, Dec 13, 2012 at 7:45 PM, Anthony Minessale <span dir="ltr"><<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>></span> wrote:<br></div></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It supports the substring with positive and negative vals so:<div><br></div><div>${foo:3:4} would start at char 3 in the string and eval to the next 4 chars </div><div>${foo:-3:2} would start at the end and go back 3 chars then print the next 2 chars </div>
<div><br></div><div>If the var name is followed by a ( or a space, it will pass the values to the FSAPI and expand the result inline.</div><div><br></div><div>${sofia_contact 1004}<br></div><div><br></div><div>equiv of...</div>
<div><br></div><div>${sofia_contact(1004)}<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div class="gmail_extra"><div><div class="h5"><br><br><div class="gmail_quote">On Thu, Dec 13, 2012 at 8:53 AM, <span dir="ltr"><<a href="mailto:covici@ccs.covici.com" target="_blank">covici@ccs.covici.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi. I was experimenting with ${variable} and was wondering what could<br>
be in there before the }? I can do a substring if I say variable:2, but<br>
I wonder what else you can do? The bash manual has all kinds of things<br>
you can have, but how much of this will fs do?<br>
<br>
Thanks in advance for any suggestions.<br>
<br>
--<br>
Your life is like a penny. You're going to lose it. The question is:<br>
How do<br>
you spend it?<br>
<br>
John Covici<br>
<a href="mailto:covici@ccs.covici.com" target="_blank">covici@ccs.covici.com</a><br></blockquote></div></div></div></div></blockquote></div></div></div>