Question:How do you determine the length of a string value that was stored in a variable? 

Answer To get the length of a string value, use the function strlen(). For example, if you have a variable named FullName, you can get the length of the stored string value by using this statement: I = strlen(FullName); the variable I will now have the character length of the string value. 

+ Report
Total Preview: 904
How do you determine the length of a string value that was stored in a variable?
Copyright © 2024. Powered by Intellect Software Ltd