-
Notifications
You must be signed in to change notification settings - Fork 171
Strings methods: find()
#1012
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Strings methods: find()
#1012
Conversation
f616e0b
to
2ff9022
Compare
Ready for review @certik @czgdp1807 |
9932ff8
to
90a2ec4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolve the conflicts and clean up the git history. See https://github.com/lcompilers/lpython/blob/main/doc/src/rebasing.md#merging for steps.
6738652
to
ce0db83
Compare
@czgdp1807 Done! |
ce0db83
to
bf13c45
Compare
@czgdp1807 ready now! |
assert s.find('B') == 6 | ||
assert "empty strings" .find("string") == 6 | ||
s2: str | ||
s2 = "Ferrars all spirits his imagine effects amongst neither. It bachelor cheerful of mistaken. Tore has sons put upon wife use bred seen. Its dissimilar invitation ten has discretion unreserved. Had you him humoured jointure ask expenses learning. Blush on in jokes sense do do. Brother hundred he assured reached on up no. On am nearer missed lovers. To it mother extent temper figure better." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the source of this string?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coming from https://www.rs-niers-mg.de/breaking-bad-illustrated/?
Well copying a string from a website makes us prone to copyright claims. Can you just write something of your own? Like just take this review comment and put it as a string?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's from a text generator, but i will change it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@czgdp1807
ready now.
bf13c45
to
bff8d77
Compare
No description provided.