julia字符串操作示例代码

代码语言:julia

所属分类:其他

代码描述:julia字符串操作示例代码

代码标签: 示例

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

s1 = "The quick brown fox jumps over the lazy dog α,β,γ"

# search returns the first index of a char
i = findfirst(isequal('b'), s1)
println(i)
#> 11
# the second argument is equivalent to the second argument of split, see below

# or a range if called with another string
r = f.........完整代码请登录后点击上方下载按钮下载查看

网友评论0