Maxwilliam Posted September 21, 2013 Posted September 21, 2013 Plz Help make this Func 1- Count characters in a string 2 -if the total is more than 20 characters, then she takes the last characters to be doing a string of 20 characters how make this? plz help
jaberwacky Posted September 21, 2013 Posted September 21, 2013 StringLen(...) and StringRight(...). The descriptions are in the helpfile. You may need to use StringLeft(...) if you want the first twenty characters. Helpful Posts and Websites: AutoIt Wiki | Can't find what you're looking for on the Forum? My scripts: Guiscape | Baroque AU3 Code Formatter | MouseHoverCalltips | SciTe Customization GUI | ActiveWindowTrack Toy | Monitor Configuration UDF
jguinch Posted September 21, 2013 Posted September 21, 2013 Just a litle remark for Maxwilliam, it's not necessary to test the length of the string, because helpfile says : If count exceeds string length, the entire string is returned. Spoiler Network configuration UDF, _DirGetSizeByExtension, _UninstallList Firefox ConfigurationArray multi-dimensions, Printer Management UDF
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now