adspace
I have a string “contact@dezyre.com”. Which string function can be used to split the string into two different strings “contact@dezyre” and “com” ?
Answer Posted / Randhir Prasad Singh
The string function that can be used is split(). In Python, you can use split("@") to split a string at the @ symbol. This will return a list containing the two parts of the email address.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category