HI Kishore ,
For returning a string without Trailing & Leading Blank spaces can be done by using "Trim" built in function.
( i.e Rtrim,Ltrim,Trim)
If your question is regarding the eliminating leading & trailing blank spaces then , the above solution might be useful to u.
For returning a string without Trailing & Leading Blank spaces can be done by using "Trim" built in function.
( i.e Rtrim,Ltrim,Trim)
Code:
str= " hai" ; ltrim(str) --> "hai"
str= "hai " ; rtrim(str) --> "hai"
str= " hai " ; trim(str) ---> "hai"
