Log in

View Full Version : How do you find the length of a String?



LordJashin
02-27-2012, 05:09 AM
Edit: Resolved

I've tried length, and Sizeof. Sizeof just returns the size of the data type. Length as in length in characters. Any characters.

Brandon
02-27-2012, 05:14 AM
Length(WhichString)

LordJashin
02-27-2012, 05:27 AM
Length(WhichString)

For Ctrl + Space in Simba is there anyway to make the box bigger? Trying to figure out what all the TReplace Flags are.

Edit: The TReplace flags are the ones that go in Replace(String, FindStr, ReplaceStr, TReplaceFlag);

2nd Edit: Nvm - http://www.delphibasics.co.uk/RTL.asp?Name=TReplaceFlags

Finally got my function working.