Signature (Visual Basic / VBA)
Public Function AddCrLfEveryNCharacters( _
ByVal vValue As Variant _
, ByVal vEveryNChars As Variant _
) As Variant
Code Example
? AddCrLfEveryNCharacters("12345678")
123
456
78
Parameters
| Parameter | Description |
|---|---|
| vValue | String to which carriage return and new line characters will be added at the specified interval. Function returns Null if vValue is Null or cannot be fixed up to a String. |
Notes & Version History
| vEveryNCharacters | The number of characters between the addition of each carriage return and new line string. Function returns vValue in string form if vEveryNChars is Null or cannot be fixed up to a number. |