Jump to content

get length of data ?


milad
 Share

Recommended Posts

hello my friends.

I write an Autoit script for my project .

now I have a string in my project and need too check the string length . and if string length is larger than 100 characters, get just 100 characters from 1 too 100 .

can anyone help me ?

for example :

check $data length

$length = $data length

if $length > 100 -then-> $data = first 100 characters of $data

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...