Sign in to follow this  
Followers 0
aNewLyfe

Get The Last Character From a String ?

4 posts in this topic

#1 ·  Posted (edited)

Allright, Solved :) sorry for doin non-sense :)

I have just saw StringLeft and Right :)

my question is easy as it seems.

how can i get the last character from a string ?

I will use this for _stringBetween, but i have to know last chr for make it work.

Or not ? is there a wayto do _StringBetween like :

_StringBetween($str,"MyStart",0) ?

Or, it can be First Char too, First char will be more useless.

thanks

Edited by mistakilla

:alien: ~ Every Living Thing is a Code Snippet of World Application ~ :alien:

Share this post


Link to post
Share on other sites



You can use stringright($string, 1) :)

Share this post


Link to post
Share on other sites

You can use stringright($string, 1) :)

thanks for answer, solved allready iam too sleepless :)


:alien: ~ Every Living Thing is a Code Snippet of World Application ~ :alien:

Share this post


Link to post
Share on other sites

Yeah, I didn't see your edit because I probably posted just before the edit was made.

Oh, and sleepless? Been there, done that :)

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