Welcome !
         

 Assistance Needed

Author Message
Wafflemonger

  • Total Posts : 1
  • Scores: 0
  • Reward points : 0
  • Joined: 2/24/2011
  • Status: offline
Assistance Needed Thursday, February 24, 2011 7:23 AM (permalink)
0
I am currently attempting to learn ASP.NET scripting and have come a long way from response.write "Hello World" I currently have a book to assist me with scripting, however I am unable to find this in the book, or if it is in there, I do not fully understand it.

Either way, what I am trying to accomplish is say for example I enter an e-mail pancake@hotmail.com .

What I am trying to learn to do is pull the text before and after the "@" symbol, essentially grabbing only the domain text and displaying it in one field [hotmail.com], and the name text in the other field [pancake].  I have just started learning inStr and mid so I may not be at this level yet. Regardless I would still like to learn how to do it from people who already fully understand how to utilize this function.

For this sake, let's say I already have the HTML code that would do this, with the fields named "beforeAt" and "afterAt"
<message edited by Wafflemonger on Thursday, February 24, 2011 7:27 AM>
 
#1
    Online Bookmarks Sharing: Share/Bookmark

    Jump to:

    Current active users

    There are 0 members and 2 guests.

    Icon Legend and Permission

    • New Messages
    • No New Messages
    • Hot Topic w/ New Messages
    • Hot Topic w/o New Messages
    • Locked w/ New Messages
    • Locked w/o New Messages
    • Read Message
    • Post New Thread
    • Reply to message
    • Post New Poll
    • Submit Vote
    • Post reward post
    • Delete my own posts
    • Delete my own threads
    • Rate post

    2000-2017 ASPPlayground.NET Forum Version 3.9