Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 7374 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Greetings all -

I want to pull the user name from an email which will be used for login and web account information.

EX: Entering "[email protected]" into the "emailAddress" field would also populate the "login" field with "someguy" and "web" field with "http://student.school.edu/someguy".

Using the left function does not work because the user name can be 1 to 8 characters long, and the right function only grabs the count from the right.

Any ideas or suggestiongs? Going crazy here and I'm sure there's a simple way to do it.

-steve

Posted

login := Left( emailAddress, Position( emailAddress, "@", 1, 1 ) - 1 )

web := "http://student." & Right( emailAddress, Length(emailAddress) - Position( emailAddress, "@", 1, 1 ) ) & "/" & login

Posted

Hey thanks! Don't think I could have figured out that one. Played around with it, and found a short cut (well less typing)

web :="http://url/" & Left( emailAddress, Position( emailAddress, "@", 1, 1) -1)

Appreciate the help!

-st

This topic is 7374 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.