Oops, correction, I indicated using the right function... I meant the left
function.

On Wed, Jul 1, 2009 at 12:49 PM, Christopher Gillman <gillm...@gmail.com>wrote:

> Hi all,
>
> It's been a LONG time since I've posted anything to the ol' ARSList, so I
> thought I'd give this a shot.
>
> I'm using EIE to retrieve a field containing login information from a
> third-party SQL database. The database captures this information in a
> format similar to: "XXXXX-XXX\username"
>
> What I really want is just the information after the "\". The number of
> characters in front of the "\" isn't always the same. Sometimes it's more,
> sometimes it's less.
>
> What I'm wonering is... is there any way to do some kind of nested
> function to return this? I was thinking along the lines of using
> the "strstr()" function and the "right()" function, but i'm not confident
> that this will work.
>
> I was thinking along the lines of the following but I don't believe this
> syntax will work: function|strstr(userName0, right("\")).
>
> I know the function strstr expects the format strstr(string,string), and
> the right function expects right(string, long).
>
> Hmm.... maybe if I put it in this format? function|right($username0$,
> strstr($userName0$, "\"))
>
> Anyone else want to chime in?
>
> Thanks!
>
> Chris
>

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor:rmisoluti...@verizon.net ARSlist: "Where the Answers Are"

Reply via email to