Table of Contents
strlenDescriptionGet the length of a string in characters. Function prototypeint strlen <string:str> Arguments
Return valueAn integer containing the length of str, in characters. Example// create a new integer int i // set integer value to be length of a string using strlen set i <zs:strlen "This text is 31 characters long"> // echo result to event log echo i … the output of which is written to the event log by echo as: 31 CommentsNone. See alsoExcept where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
|