469,964 Members | 1,540 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,964 developers. It's quick & easy.

Search character

How to i search the colon in the data and then pick characters after
colon. for eg:

ACTUAL DATA
Date: Fri Aug 04 15:14:38 EDT 2006

REQURED DATA
Fri Aug 04 15:14:38 EDT 2006

Thanks,

Aug 10 '06 #1
2 1189

Eric wrote:
How to i search the colon in the data and then pick characters after
colon. for eg:

ACTUAL DATA
Date: Fri Aug 04 15:14:38 EDT 2006

REQURED DATA
Fri Aug 04 15:14:38 EDT 2006

Thanks,
reqdDate = Replace(actualData,"Date: ","")

--
Mike Brind

Aug 10 '06 #2
Eric wrote:
How to i search the colon in the data and then pick characters
after colon. for eg:

ACTUAL DATA
Date: Fri Aug 04 15:14:38 EDT 2006

REQURED DATA
Fri Aug 04 15:14:38 EDT 2006
JScript:
output = input.replace(/.*:/,"")

vbscript:
Set re = New RexExp
re.Pattern = ".*:"
output = re.Replace(input,"")

--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms.
Aug 10 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by pembed2003 | last post: by
4 posts views Thread by Nikos | last post: by
7 posts views Thread by Bonj | last post: by
1 post views Thread by Eric | last post: by
1 post views Thread by rainxy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.