Hi Good Day!
Need your help on how to truncate my string value to 17 chareacters only.
in my program, the acceptable number of characters for First Name is 17. Characters more than 17 should be truncated but it may cut words in the middle. I need to make the length max 17 characters, but, if it cuts a word, it should also remove this half-word completely.
Thanks.
Need your help on how to truncate my string value to 17 chareacters only.
in my program, the acceptable number of characters for First Name is 17. Characters more than 17 should be truncated but it may cut words in the middle. I need to make the length max 17 characters, but, if it cuts a word, it should also remove this half-word completely.
Thanks.
Last edited: