Namespacesutilsblockly.utils_namespace.string_namespace.wrap_functionOn this pageblockly > utils > string > wrap utils.string.wrap() function Wrap text to the specified width. Signature: export declare function wrap(text: string, limit: number): string; Parameters ParameterTypeDescriptiontextstringText to wrap.limitnumberWidth to wrap each line. Returns: string Wrapped text.