Sign in to follow this  
Followers 0
MVROD

Getting a substring

3 posts in this topic

#1 ·  Posted (edited)

Hi !

Does anybody knows how getting a substring providing the start and finish position ?

Like string.substring(0,10) in JAVA?

I'm not searching for a specific string, I just would like to know the string which is between some positions.

Example:

String word = "Hello Earth"

word.substring(7,9) = Ear

Can anybody help me how to do this ?

Edited by MVROD

Share this post


Link to post
Share on other sites



Use StringMid ( "string", start [, count] ).

Thanks a lot!

It worked successfully !

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