Skip to content
This repository has been archived by the owner on Jun 17, 2020. It is now read-only.

Implement String Operations #8

Open
sanket143 opened this issue May 21, 2019 · 0 comments
Open

Implement String Operations #8

sanket143 opened this issue May 21, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@sanket143
Copy link
Owner

sanket143 commented May 21, 2019

first = "Time";
second = "not Time";

Concatenation

newVar = first + " " + second;
print(newVar);  # Time not Time

is SubString

newVar = first ~= second; # is 'Time' substring of 'not Time'
print(newVar); # true

SubString

newVar = second[4:7];
print(newVar); # Tim

Length ( Draft )

newVar = $first;
print(newVar); # 4
@sanket143 sanket143 added the enhancement New feature or request label May 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant