strDel Function
Creates a copy of a string with the specified substring removed.
Syntax:
str strDel(
str _text,
int _position,
int _number)
Example:
using strDel function Note: removes 2 letters from 4th letter onwards
info(strDel("Prashant",4,2));
Result : Praant
info(strDel("Prashant",4,-3));
Result : Phant
Creates a copy of a string with the specified substring removed.
Syntax:
str strDel(
str _text,
int _position,
int _number)
Example:
using strDel function Note: removes 2 letters from 4th letter onwards
info(strDel("Prashant",4,2));
Result : Praant
info(strDel("Prashant",4,-3));
Result : Phant
No comments:
Post a Comment