Sign in to follow this  
Followers 0
inm101

Plucking the first letter of a word

3 posts in this topic

I need to pull the first letter out of a word.

For example, if the word is "apple" I need the "a".

I could use string trim but I'm not going to know the word length ahead of time.

What's the best way to approach this? I could also use an array and pull out the first element but that seems like overkill.

Share this post


Link to post
Share on other sites



Stringleft. Check the help file.

Share this post


Link to post
Share on other sites

Stringleft. Check the help file.

Got it!

That's what I needed. I should have read it more closely - thank you.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0